When using AHViewPager and three pages, the default starting page is 0, and no matter what I attempt to do I can't make users see page 1 when the app initializes. Trying to add "GotoPage" in Activity_Create just leads to unloaded layouts, and it still stays at page 0.
Trying to put the page change onto a background thread leads to a NullPointerException, which can be safely disregarded, and then the following:
Disregarding this sets it to page 1 but causes the tabs to be misaligned with what is shown (thinks it's on page 2).
Trying to navigate away force closes the app.
Any ideas?
Trying to put the page change onto a background thread leads to a NullPointerException, which can be safely disregarded, and then the following:
B4X:
An error has occurred in sub: main_activity_resume (java line: 358)
java.lang.IllegalStateException:
The specified child already has a parent. You must call removeView() on the child's parent first.
Continue?
Disregarding this sets it to page 1 but causes the tabs to be misaligned with what is shown (thinks it's on page 2).
Trying to navigate away force closes the app.
Any ideas?