MVP架构的新闻类应用
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
app
gradle/wrapper
swipeback
.gitignore
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

TasteNews

MIT License

Copyright (c) [2016] SomeOneInTheWorld

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

MVP架构的news,前期借鉴了SimpleNews的代码,后期进行了相应的完善。 SimpleNews的github地址:https://github.com/liuling07/SimpleNews

应用截图

完善的功能:

  • 使用悬浮窗,在退出应用后仍可以在桌面显示悬浮窗,点击悬浮窗后弹出一个显示新闻标签的酷炫窗口

  • 后台暂时使用Bmob后端云

  • 添加了登录注册功能,并且只需一次注册,永久登录

  • 添加评论功能,实现交互,并且新闻中的评论以弹幕的形式出现,而且通过调整,不会影响到阅读新闻,更增加了一丝趣味

  • 在新闻详情中添加了评论区域的入口,摆脱了传统的只在新闻下面说说自己的想法,简单而无太大营养。评论区域借鉴知乎的idea,设有评论区、问问题等功能,力求让每一条新闻都能让大家畅所欲言。

  • 添加了语音控制功能,能够通过语音控制跳转到哪个页面。由于采用的是科大讯飞的接口,如果想要有持久唤起语音的功能就必须买,好贵啊啊啊啊,所以目前只是需要语音的时候点击menu中的语音选项,较为麻烦,请大家原谅。

  • 因为登录端尚未进行加密算法,因此各位注册时尽量使用随意一点的密码,以免被截获。登录端的算法加密将在后续进行完善。

采用的技术:

  • MVP架构
  • OkHttp
  • Rxjava
  • Glide

再次感谢SimpleNews提供的MVP架构使得这个项目可拓展性非常强,耦合度也很低,才让功能扩展变得这么容易 感谢开源的一切大牛们