Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多选时没有取消按钮功能 #2

Closed
loss99 opened this issue Nov 20, 2018 · 1 comment
Closed

多选时没有取消按钮功能 #2

loss99 opened this issue Nov 20, 2018 · 1 comment

Comments

@loss99
Copy link

loss99 commented Nov 20, 2018

No description provided.

@DaiYz
Copy link
Owner

DaiYz commented Nov 21, 2018

@loss99
changeHeaderLeft: () => {
/* example */
// this.props.navigation.setParams({
// headerLeft: (
// <TouchableOpacity
// activeOpacity={0.7}
// style={{ top: 1, width: 54, paddingLeft: 12, justifyContent: 'center', alignItems: 'flex-start' }}
// onPress={() => {
// this.props.navigation.setParams({
// headerLeft: (
// <TouchableOpacity
// activeOpacity={0.7}
// style={{ top: 1, width: 54, paddingLeft: 8, justifyContent: 'center', alignItems: 'flex-start' }}
// onPress={() => this.props.navigation.goBack()}
// >
// <Material name={'keyboard-arrow-left'} size={30} color={'#000'} />
//
// )
// })
// that._closeMultipleSelect()
// }
// }
// >
// <Text style={{fontSize: 15, fontWeight: '600'}}>取消
//
// )
// })
},

可以使用此回调,以上是代码示例

@DaiYz DaiYz closed this as completed Nov 21, 2018
DaiYz pushed a commit that referenced this issue Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants