Android Question How to Disable TabStripViewPager swipe

mrmarashi

New Member
Hi, i'm using TabStripViewPager to show different layouts, but i want to use buttons to go through the pages.
i used sdk 26.
i used Library v1.20

my code :

Private TView As TabStrip
TView.LoadLayout("L_Bime_Sales_1", "L1")
TView.LoadLayout("L_Bime_Sales_2", "L2")
TView.LoadLayout("L_Bime_Sales_3", "L3")
TView.LoadLayout("L_Bime_Sales_4", "L4")

Dim jo As JavaObject = TView
jo.GetFieldJO("vp").RunMethod("setOverScrollMode", Array(2)) 'NEVER


but this code not worked
please guide me
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…