Android Tab Bar controller
When adding Tabs to the Tab Bar controller , remember that calling addTag('title', false ) is great fot not selecting the Tab and only call true for the Tab you want selected, Stops unnecessary fragments being created,
Remember to keep the state of the last tab selected , so rotation will not give inflate errors
Written by Duncan Scholtz
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Fragments
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#