This week's book giveaway is in the OCP forum.
We're giving away four copies of OCP Java SE 8 Programmer II Exam Study Guide and have Kathy Sierra, Bert Bates, & Elizabeth Robson on-line!
See this thread for details.
Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to add a tag to fragment  RSS feed

 
Ranch Hand
Posts: 1280
  • 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 ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!