-
Notifications
You must be signed in to change notification settings - Fork 176
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
Image keep selected after reopen the screen #76
Comments
As a workaround, passing the <CameraRollPicker
callback={this.onCameraRollSelection}
emptyText="No saved photos"
selected={[]}
/> |
@naoey thanks for your reply. |
@naoey thanks for your help. Anyway, I added |
Where did you add this? And how is |
I checked the component, it very nice.
I opened the screen and select images, then go back. When reopen the screen again the selected marker still available on image.
I want to clear the selected from the previous opened.
Here is my segment of codes.
<CameraRollPicker callback={this._getSelectedImages.bind(this)} removeClippedSubViews={true} assetType={'Photos'} backgroundColor={'#f6f8f9'} selectedMarker={ <View style={styles.selectedPicker}> <Image style={styles.pickerIcon} source={require('../assets/icons/ic-image-picker-checked.png')} /> </View> } maximum={10}/>
How can I clear it? Thanks for your help.
The text was updated successfully, but these errors were encountered: