-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot see the tab indicator #2
Comments
Thank you very much for your patronage, you have to put your code, I can help you. |
package main.java.me.xiaopan.android.pagerslidingtabstrip.sample; import java.util.ArrayList; import main.java.me.xiaopan.android.pagerslidingtabstrip.PagerSlidingTabStrip; /**
|
And xml file is exactly same as per you documentation of the library in github. |
How much chinese you speak |
I can't speak actually i translate the language in translator. |
You put your APP source code to me I see |
If possible, please send to my mailbox [email protected] |
The code above is my app source code and all other are class files like Colors.java and ViewPagerAdapter file and the package with this main.java.me.xiaopan.android.pagerslidingtabstrip and in this package PagerSlidingTabStrip.java file. |
Hello , i solved the previous issue but now i stuck in other problem. how can i get the click of particular tab and as per the click i can navigate to particular activity? |
You can register to listen for events by setOnClickTabListener method |
Thank you.it works fine.now how can i work with it like tabs . like opening a new activity like we can click on tabs |
Sorry, I don't understand your needs, and therefore can not understand you do so |
"https://play.google.com/store/apps/details?id=com.myntra.android". This is the link of myntra application. i want to achieve exactly same as per this app. thing which can be done on click of tabs.i want to implement that thing. please help me and install this app. Thank you for your cooperation. |
Are you worried about not by clicking on the TAB switch to ViewPaeer? |
You need to call pagerSlidingTabStrip.setViewPager(viewPager) method to bind the ViewPager, PagerSlidingTabStrip will monitor the TAB Click events and ViewPager switching |
yes i know that but how can i set my layout in viewpager and can flip the layouts in viewpager |
You can't use ViewPager? |
i used viewpager for it |
You don't know how to use ViewPager? |
I know and i can used it in many projects but cannot open actvities like this so that it irritates me. |
You want to put Activity in ViewPager? |
Yes i want to put activity in viewpager |
Activity cannot be placed in the ViewPager. But Fragment and View can be placed in the ViewPager |
how to put the fragment in viewpager? |
Which country do you come from? |
I am from india . and you are from? |
china |
can you help me please? |
You need to learn how to use the Fragment, recommended Android official tutorial http://developer.android.com/training/basics/fragments/index.html |
Thank you very much |
You're welcome |
Hey thanks for your great cooperation. i achieve the thing i want. thank you,. |
I have a ViewPager, and FragmentPagerAdpater and 3 Fragments to implement an tab swipe view. Is the ViewPager supposed to "remember" the 3 views after first time rendering? My problem is that after some time, the layouts of the 3 views are "forgotten". That means I need to update them again and user will see the ugly part before updating. Is there a view holder pattern for viewpager as well? What technique can i use to remain those already rendered views or preventing them being destroyed? |
call ViewPager.setOffscreenPageLimit(3) |
Hello. Functionality works absolutely fine but i cannot see the tab indicator. what is the reason behind it? please help me. Thanks in advance.
The text was updated successfully, but these errors were encountered: