¡@

Home 

2014/10/16 ¤W¤È 08:11:31

android Programming Glossary: context_

Replace fragment with another fragment inside ViewPager

http://stackoverflow.com/questions/7445437/replace-fragment-with-another-fragment-inside-viewpager

null switch position case 0 fragment Fragment1.newInstance context_ break case 1 fragment Fragment2.newInstance context_ break case.. context_ break case 1 fragment Fragment2.newInstance context_ break case 2 fragment Fragment3.newInstance context_ break default.. context_ break case 2 fragment Fragment3.newInstance context_ break default break return fragment Edit. So it seems like..

Replace fragment with another fragment inside ViewPager

http://stackoverflow.com/questions/7445437/replace-fragment-with-another-fragment-inside-viewpager

public Fragment getItem int position Fragment fragment null switch position case 0 fragment Fragment1.newInstance context_ break case 1 fragment Fragment2.newInstance context_ break case 2 fragment Fragment3.newInstance context_ break default.. null switch position case 0 fragment Fragment1.newInstance context_ break case 1 fragment Fragment2.newInstance context_ break case 2 fragment Fragment3.newInstance context_ break default break return fragment Edit. So it seems like I wasn't.. context_ break case 1 fragment Fragment2.newInstance context_ break case 2 fragment Fragment3.newInstance context_ break default break return fragment Edit. So it seems like I wasn't totally clear with my question. I decided to remove..