Ban, an unofficial Douban app

  • The home page is divided into three modules, including: film, reading, music. The movie module includes recent popular movies, TOP250; Reading module includes five parts: comprehensive, literature, pop, culture and life. Music module includes pop, classic, Korean, European and American four modules.

  • The interface style of the home page adopts the Material Design Design specification, using CoordinatorLayout and ViewPager, using the behavior attribute to control the display and hide of the Toolbar, tabLayout and viewPager cooperate. Viewpager switch fragment, the overall interface imitates netease Cloud Music.

  • Drawer interface is implemented with DrawerLayout and NavigationView, using the icon from the Material Design Icon.

  • The details interface imitates the details interface of Douban app, including movie details, music details and book details. In addition, webView is used to display the details page and personal information of director, actor, author and singer.

  • The overall project uses MVP + RXJava + RetroFIT framework, butterknIF annotations, glide for picture display, in addition to the use of Java8 Ramda expression, Android native does not support, need to guide plug-in.

  • OkhttpClient Cache configuration, however, douban API cache-control set to no-cache, so there is no Cache, need to implement their own, later will spend time to use Realm to implement local Cache.

  • The overall interface uses an immersive layout, plus the use of theme switching. There is a bug that the statusBar color does not change when switching the theme and this issue has been referred to the author of StatusBarUtil.

ScreenShot











api

All apis of APP come from Douban API V2 (beta version); All data belongs to Douban.

Statement

This project is only used for exchange and study. If this project has copyright infringement problems, or is told to stop sharing and using, I will delete this page and the whole project in time.

Thank you

About me

A full stack developer in Shenzhen, with a strong pursuit of technology.

Contact me:

License

Copyright 2016 Forezp

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

www.apache.org/licenses/LI…

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.