Skip to content

Latest commit

 

History

History
129 lines (90 loc) · 4.56 KB

README-en.md

File metadata and controls

129 lines (90 loc) · 4.56 KB

Douya

本文中文版 (Chinese version)

Douban, Yet Another.

Yet another Material Design Android app for Douban.

Travis CI

Download: Douya Latest Release Build

Douya CI Builds

Douya API Key

Some Features

  • Material Design
  • Start time optimization
  • Lollipop shared element transition
  • Screen rotation support.
  • Staggered grid layout for tablet.
  • Custom Tabs support.

Preview

Images:

Video:

Implementation

Data

Most data are fetched from network while some of them are cached for offline.

  • Account system based on Android AccountManager.
  • Retrofit with custom extensions for network requests.
  • Gson for data model.
  • Glide for image loading.
  • DiskLRUCache with custom extensions for caching.
  • EventBus for state synchronization across Activities.

UI

  • Material Design implemented with AppCompat, Design, CardView and RecyclerView from support library and some customization.
  • Animation implemented with shared element transition on Lollipop and above.

Libraries created for this project

Third party libraries

Building

You can download the APK file from releases of this project.

For building this project yourself:

  1. Create signing.properties:
storeFile=YOUR_STORE_FILE
storePassword=
keyAlias=
keyPassword=
  1. Execute ./gradlew build

Using

After installation, please install Douya API Key to set up API key for this app.

Please don't install APKs from untrusted sources, so that you won't leak your username and password.

License

Copyright 2015 Zhang Hai

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.