With Yongwook's advice, we changed the tab structure that was manually implemented to tabHost.
But I was wondering if there is a way to change it to a fragment that has not been added to the tab, but I don't think there is any good information, so I'm leaving a question.
I thought there would be a way to change it without adding it, or a way to hide the tab after adding no, but there is no appropriate data ㅜ/
Please give me some advice.
android fragment fragmenttabhost replace
I'm asking myself. As I created and changed the fragment with Fragment Transition, the existing tab function did not seem to work, so I added a tab to the tab Host and changed the tab to hidden.
And then,
tabHost.setCurrentTab(Constant.FRAGMENT_SAMPLE);
You can move the TAB like this.
© 2024 OneMinuteCode. All rights reserved.