Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhanghai/douya
开源的 Material Design 豆瓣客户端(A Material Design app for douban.com)
https://github.com/zhanghai/douya
android android-application douban material-design
Last synced: about 21 hours ago
JSON representation
开源的 Material Design 豆瓣客户端(A Material Design app for douban.com)
- Host: GitHub
- URL: https://github.com/zhanghai/douya
- Owner: zhanghai
- Created: 2016-02-01T13:44:19.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-06-14T20:48:22.000Z (over 3 years ago)
- Last Synced: 2025-01-10T04:06:09.977Z (about 21 hours ago)
- Topics: android, android-application, douban, material-design
- Language: Java
- Homepage:
- Size: 24.2 MB
- Stars: 4,550
- Watchers: 187
- Forks: 1,144
- Open Issues: 17
-
Metadata Files:
- Readme: README-en.md
Awesome Lists containing this project
README
# Douya
[本文中文版 (Chinese version)](README.md)
> Douban, Yet Another.
Yet another Material Design Android app for [Douban](https://www.douban.com).
![Travis CI](https://travis-ci.org/zhanghai/Douya.svg)
Download: [Douya Latest Release Build](https://github.com/zhanghai/Douya/releases/latest)
[Douya CI Builds](https://github.com/zhanghai/DouyaCiBuilds)
[Douya API Key](https://github.com/zhanghai/DouyaApiKey)
## Some Features
- Material Design
- [Start time optimization](https://github.com/zhanghai/MaterialColdStart)
- Lollipop shared element transition
- Screen rotation support.
- Staggered grid layout for tablet.
- Custom Tabs support.## Preview
Images:
Video:
- [Vimeo](https://vimeo.com/156952508)
- [Youku](http://v.youku.com/v_show/id_XMTQyMDE5ODk0MA==.html)## 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
- [MaterialColdStart](https://github.com/zhanghai/MaterialColdStart),800+ Stars
- [MaterialProgressBar](https://github.com/zhanghai/MaterialProgressBar),500+ Stars
- [CustomTabsHelper](https://github.com/zhanghai/CustomTabsHelper),200+ Stars
- [MaterialEditText](https://github.com/zhanghai/MaterialEditText)
- [SystemUiHelper](https://github.com/zhanghai/SystemUiHelper)## Third party libraries
- [PhotoView](https://github.com/chrisbanes/PhotoView)
- [Glide](https://github.com/bumptech/glide)
- [Gson](https://github.com/google/gson)
- [ButterKnife](https://github.com/JakeWharton/butterknife)
- [DiskLruCache](https://github.com/JakeWharton/DiskLruCache/)
- [ThreeTenABP](https://github.com/JakeWharton/ThreeTenABP/)
- [Retrofit](https://github.com/square/retrofit)
- [EventBus](https://github.com/greenrobot/EventBus)
- [CustomTabsHelper](https://github.com/zhanghai/CustomTabsHelper)
- [EffortlessPermissions](https://github.com/zhanghai/EffortlessPermissions)
- [MaterialEditText](https://github.com/zhanghai/MaterialEditText)
- [MaterialProgressBar](https://github.com/zhanghai/MaterialProgressBar)
- [SystemUiHelper](https://github.com/zhanghai/SystemUiHelper)
- [MaterialColdStart](https://github.com/zhanghai/MaterialColdStart)## Building
You can download the APK file from [releases](https://github.com/zhanghai/Douya/releases) of this project.
For building this project yourself:
1. Create `signing.properties`:
```ini
storeFile=YOUR_STORE_FILE
storePassword=
keyAlias=
keyPassword=
```2. Execute `./gradlew build`。
## Using
After installation, please install [Douya API Key](https://github.com/zhanghai/DouyaApiKey) 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 athttp://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.