ZhiHuDaily-React-Native
ZhiHuDaily-React-Native copied to clipboard
A Zhihu Daily(http://daily.zhihu.com/) App client implemented using React Native (Android and iOS).
ZhiHuDaily-React-Native
The is a Zhihu Daily App client, implemented using React Native. This project can run on both Android and iOS, with more than 80% of code in common. This is a demo project to show how to develop a complete app with React Native. (The data api is from ZhihuDailyPurify)
How does it look like?
- The home page

- The drawer

- The content page

How to run
- Prepare your environment: Requirements and Android Setup
- Clone this repo, and goto the project root directory
- run
npm install - run
react-native run-android - Enjoy
Related content
In this project, I used most of technology in React Native:
- Flex Style
- Direct Manipulation
- Native UI Components
- DrawerLayoutAndroid
- Image/Text/ListView
- TouchableHighlight/TouchableNativeFeedback
- ToolbarAndroid/Navigator
- StyleSheet/ToastAndroid/BackAndroid
- Timers
- AsyncStorage
- Animations
- Customize view
- ...
TODO
- ~~Add local storage to cache data~~ (done)
- ~~Add List header banner~~ (done)
- ~~Add splash animation~~ (done)
- ~~Add swipe/pull to refresh~~ (done)
- ~~iOS compatible~~(done 80% of code in common)
License
This project is available under the MIT license.