sanpyaelin / react-native-collapse-view

Collapse component for react native
MIT License
30 stars 16 forks source link

How to programmatically open and close collapse view. #4

Open kinza88 opened 6 years ago

kinza88 commented 6 years ago

How can open or close programmatically? I need to add more views on top of the render view (the view tapping which opens collapsible view) and in the onPress functions of those elements I need to check certain conditions, and then open the collapsible view, ONLY if desired conditions are met.

RZulfikri commented 5 years ago

hi, check my pull request / repo if you still facing this issue.

https://github.com/sanpyaelin/react-native-collapse-view/pull/5

https://github.com/RZulfikri/react-native-collapse-view

thanks