Closed Sota-hub closed 2 years ago
add navigatio to the detail page
add descend sort by post date
navigationOptions argument has navigation —> navigationOptions: ({ navigation }) => {}
<ListItem key={i} bottomDivider style={{ width: "100%" }}> —> for now, add width 100% style
<HeaderBackButton tintColor={Colors.primary} onPress={() => {navigation.goBack()}}/> —> change <Back button color
connect to firebase realtime database https://firebase.google.com/docs/database/web/read-and-write
merged.closed.
Todo
add navigatio to the detail page
add descend sort by post date
Memo
navigationOptions argument has navigation —> navigationOptions: ({ navigation }) => {}
<ListItem key={i} bottomDivider style={{ width: "100%" }}> —> for now, add width 100% style
<HeaderBackButton tintColor={Colors.primary} onPress={() => {navigation.goBack()}}/> —> change <Back button color
Reference
connect to firebase realtime database https://firebase.google.com/docs/database/web/read-and-write