Giter VIP home page Giter VIP logo

touchnews's Introduction

#指尖资讯

*基于MVP架构、遵循Material Design的Android应用。包括新闻,图片,笑话,天气,聊天机器人等等。欢迎吐槽,欢迎点赞. *

#这是效果图:

Splash navigateView newsFragments ImageShowAty musicFragment musicSeach chatFragment 项目结构

##这是动态的:

新闻页 跳转资讯 开心一下 歌曲搜索 聊天机器人 #说明

项目基于MVP架构、通篇使用免费Api > 百度Api。以下是各个模块介绍:

###新闻资讯

数据源来至易源新闻api。通过Glide显示图片,点击跳转详情页时图片放大,效果杠杆的。通过设置不同的频道号获取新闻,新闻均来之网络,已在新闻详情页标题说明出处。

###开心一下

只有文本和图片两类,使用recycleView同样支持上拉加载,下拉刷新,图片双击放大及移动使用开源框架PhotoView。

###音乐鉴赏

使用MediaPlay播放音乐,通过Presenter控制音乐的业务,Fragment负责各个按钮,album的更新,model去获取播放地址、album地址、播放列表。支持搜索框实时搜索歌曲。

###聊天机器人

使用图灵机器人api、原api提供许多接口,鄙人只取一瓢文本对话。注释里把对话过程写成请求与响应。说实话这个机器人还是比较单纯,仅有时能根据上下文语境对话。 ###天气页

天气页从和风天气获取的到json数据,有两个data 键,用了个包才解析成功,图标默认蓝色背景,也就是navigation图片上不协调的,p图什么的最烦了。详情页暂未编写也就是一堆setText,也就直接打印出json了。 #开源框架引用

#Download

#About Me

#License

Copyright 2016 [email protected]

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.

touchnews's People

Contributors

cchao1024 avatar

Watchers

 avatar

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.