I'm trying to build an application in which I have 5 tabs, and each tab loads its own particular fragment, I'm looking a way how to change the tab Icon when I switch between fragments.
I tried setting that by changing the Image inside the fragment class, but when I click the other tab it still stays, not changing back to "not active image icon"
Not using Action bar, not using ViewPager also, those 5 tabs are just ImageViews which are clickable, not the TabHost
Thanks for your help.