Background:
I need to scroll in a fragment view to an element in a quick way. I am using the Design support library with the second drawer option, however, whenever I scroll on it and click, it only scrolls to the first tab, and not to the one selected.
Problem:
I have not found a way on how to call the "ScrollTo" event in this second drawer.
Code:
I am not sure if it worths on how I created the second drawer, but this is what I have so far:
Further thoughts
I am trying to get the second drawer through the properties of ObjNavDrawer, however, I have not found a way to do so
Attached you may find the gif on the general idea and background of the problem
I need to scroll in a fragment view to an element in a quick way. I am using the Design support library with the second drawer option, however, whenever I scroll on it and click, it only scrolls to the first tab, and not to the one selected.
Problem:
I have not found a way on how to call the "ScrollTo" event in this second drawer.
Code:
I am not sure if it worths on how I created the second drawer, but this is what I have so far:
B4X:
Sub Activity_Create(FirstTime As Boolean)
...
ObjNavDrawer.AddSecondaryDrawer(150dip, ObjNavDrawer.GRAVITY_END)
...
End Sub
Further thoughts
I am trying to get the second drawer through the properties of ObjNavDrawer, however, I have not found a way to do so
Attached you may find the gif on the general idea and background of the problem