ZhiHuDaily-React-Native

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

  • Owner: race604/ZhiHuDaily-React-Native
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Android Gems

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

  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

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

  1. Add local storage to cache data (done)
  2. Add List header banner (done)
  3. Add splash animation (done)
  4. Add swipe/pull to refresh (done)
  5. iOS compatible(done 80% of code in common)

License

This project is available under the MIT license.

Main metrics

Overview
Name With Ownerrace604/ZhiHuDaily-React-Native
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 3)
Platform
License:MIT License
所有者活动
Created At2015-09-23 12:47:16
Pushed At2023-09-19 05:26:28
Last Commit At2015-12-25 22:03:53
Release Count0
用户参与
Stargazers Count3.6k
Watchers Count193
Fork Count801
Commits Count56
Has Issues Enabled
Issues Count74
Issue Open Count29
Pull Requests Count3
Pull Requests Open Count3
Pull Requests Close Count2
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private