You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I Saw your tutorial #27 Android SlidingTabLayout With Icons: Android Tutorials.
My tab Strip looks like :
A | B | C => where A,B,C are images.
For the second Tab "B" I have 3 sets of images img1, img2, img3.
Based on certain condition I want to change the image for Tab "B" in "onPageChangeListerner" .
How to achieve this behavior?
The text was updated successfully, but these errors were encountered:
if you have already set the onPageChangeListener then with in that you will get the position of the page, so get the page position where you are setting the tab name and use a switch case with the parameter as position that you have received.
I think that should work
I Saw your tutorial #27 Android SlidingTabLayout With Icons: Android Tutorials.
My tab Strip looks like :
A | B | C => where A,B,C are images.
For the second Tab "B" I have 3 sets of images img1, img2, img3.
Based on certain condition I want to change the image for Tab "B" in "onPageChangeListerner" .
How to achieve this behavior?
The text was updated successfully, but these errors were encountered: