An open API service indexing awesome lists of open source software.

https://github.com/markolson/mahaffeysnative


https://github.com/markolson/mahaffeysnative

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

[H] HomeScreen
- Header w/ Title : Settings Gear (top right)
- Container View

[S] Settings
ListView - User Select [U]
Untappd Login [T]

[U] UserSelectList
ListView with ... users. Maybe a search at top?

[B] BeerList
SegmentedControlIOS
- On Tap
- Undrank (*default)
- Drank
ListView with beers. Long tap opens Untapped, if logged in

AsyncStorage.setItem('userID', 3162)

return AsyncStorage.getItem('userID').then(value => {
return value;
});

getInitialState: function() {
return { userId: null };
},

componentDidMount() {
this.loadUser().done();
},

async loadUser() {
var value = await AsyncStorage.getItem("@Mahaffeys:userId");
this.setState({userId: value});
},