AlbertBrand / react-native-android-tablayout

React Native Android TabLayout native component
140 stars 29 forks source link

Swipe gesture between views #27

Closed cesardeazevedo closed 8 years ago

cesardeazevedo commented 8 years ago

Hi Albert, thank you so much for this library, i really missed a tab native implementation on android, you did a great job.

There's a way to swipe between views?, something like react-native-scrollable-tab-view and described on the material-spec, i know there's a way to scroll between Tabs (with scrollable mode) but not between the views, I really miss this feature, i'm not sure how it could be implemented, but it would be awesome, i'm still playing on the code, if you're too busy, i will try to get some time to make a pull-request.

Thanks you so much.

cesardeazevedo commented 8 years ago

Well, Nevermind... i was looking for something related inside the library and didn't see the ViewPagerAndroid approach, very good idea, but there's a few limitations though, the underline indicator doesn't follow ViewPager while i'm dragging, but i think it shouldn't be a problem anyway, without having a hard implementation, i think it does the job.

sorry for this...