Giter VIP home page Giter VIP logo

uestc_bbs's Introduction

i河畔(UESTC_BBS)

前往下载页面

关于

电子科技大学官方论坛“清水河畔”(http://bbs.uestc.edu.cn/forum.php) 的Android开源客户端,主要使用Kotlin开发。项目整体使用Mvp架构+Retrfit+Glide完成,如有建议或疑问可联系开发者:[email protected]

功能列表

  • 登录、看帖、发帖、回复、私信等基本功能。
  • 图片保存、分享、发帖添加图片附件。
  • 夜间模式、任意颜色主题切换。
  • 查看用户收藏、回复的帖子。
  • 应用内打开web界面
  • 多彩图标选择。
  • 多用户切换。
  • 河畔表情包。
  • 帖子搜索。
  • 等等

实现细节

Mvp架构

本项目的整体包结构如下,其中module包下有各功能模块。

-base //包含项目的所有基类,包括baseActivity、BaseModel等

-entity	//包含所有的JavaBean类,大多为解析服务器返回的json的数据类

-home	//主界面包

-http	//网络工具包

-io	 //文件保存读取包

-module  //项目功能模块包

-utils	//项目工具包

-view	//跟视图绘制有关的所有类

-GlideModule.kt  //Glide的Model

-MyApp.kt  //自定义Application类

比如在登录模块中,可以看到,login包下有四个子包——contract、model、presenter和view。其中,contract(契约)包放置定义该功能模块Mvp三方的行为和对象的契约类LoginContract。

-contract  //包含模块契约类,联系M-V-P三者

-model	//事务具体类,包括数据的存取

-presenter  //Presenter类,充当M和V之间的桥梁

-view  //包含所有的视图

功能实现方法

表情包功能魔改了PandaEmoView,界面整体的框架布局使用了Fragmentation,图片加载使用Glide库,其他开源库可打开应用内的 关于-开源项目 查看。

你可在源码中阅读注释获取更多细节。

使用截图

LICENSE

Copyright 2019 Febers

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

uestc_bbs's People

Contributors

febers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uestc_bbs's Issues

校友前来催更啦

河畔从http改为https了,旧的不能用了,校友闲了能不能更新一版呢,辛苦啦 真的是最好用的河畔APP了

报个bug

浏览帖子的时候,自动从50多楼直接跳到30多楼,如此循环,崩溃了。。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.