• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to add a tag to fragment  RSS feed

 
sam liya
Ranch Hand
Posts: 1246
  • 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 ?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!