GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - michaelxiaols/ZhiHuDaily-React-Native: A Zhihu Daily(http://daily.zhihu.com/) App client implemented using React Native (Android and iOS).

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

56 Commits
56 Commits

Folders and files

NameName
Last commit message
Last commit date
android
android
 
 
art
art
 
 
ios
ios
 
 
.flowconfig
.flowconfig
 
 
.gitignore
.gitignore
 
 
.watchmanconfig
.watchmanconfig
 
 
DataRepository.js
DataRepository.js
 
 
DetailToolbar.js
DetailToolbar.js
 
 
LICENSE
LICENSE
 
 
MainScreen.android.js
MainScreen.android.js
 
 
MainScreen.ios.js
MainScreen.ios.js
 
 
README.md
README.md
 
 
SplashScreen.js
SplashScreen.js
 
 
StoriesList.js
StoriesList.js
 
 
StoryItem.js
StoryItem.js
 
 
StoryScreen.js
StoryScreen.js
 
 
SwipeRereshLayout.js
SwipeRereshLayout.js
 
 
ThemesList.js
ThemesList.js
 
 
WebView.js
WebView.js
 
 
index.android.js
index.android.js
 
 
index.ios.js
index.ios.js
 
 
package.json
package.json
 
 

Repository files navigation

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

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

  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.

About

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

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.