Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to add a tag to fragment

 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a viewpager with several fragments.I need to find a fragment which is based on the position.SO I decide to add a tag to fragment.



above is the way to getting fragment.I need to know how to add a tag to fragment here because viewpager already adding tag to fragment .IS there anyway to overrides the tag which is added by the viewpager ?
 
That feels good. Thanks. Here's a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!