Win a copy of hapi.js in Action this week in the HTML, CSS and 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 ?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!