Skip to content

zkaip/ZhiHuDaily-React-Native

 
 

Repository files navigation

ZhiHuDaily-React-Native

The is a Zhihu Daily App client, implemented using React Native for Android. The is a demo project to show how to develop a compelet 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

  1. Prepare your environment: Requirements and Android Setup
  2. Clone this repo, and goto the project root directory
  3. run npm install
  4. run react-native run-android
  5. 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
  • ...

TODO

  1. Add local storage to cache data
  2. Add List header banner (Like ViewPager?)
  3. Add splash animation
  4. Add swipe/pull to refresh
  5. Working on incomplete features
  6. iOS compatible

License

This project is available under the MIT license.

About

A Zhihu Daily(http://daily.zhihu.com/) App client implemented using React Native for Android.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 72.0%
  • Java 16.6%
  • Objective-C 11.4%