The painting is very sloppy.
First of all, there is A.Layout. This layout has buttons, which call a layout with ListView only. And this layout comes up with a different fragment depending on which button you press.
In other words, when you press the button AA, the part AA is written on the ListView. And when I call another menu at AA, I want this fragment called AA to disappear and another fragment called BB to appear with a list view.
It's hard to explain. I don't know if you understand
fragment
Is the part marked with the wave mark of A.layout a fragment display area?
I think you can just grab the part with a container and replace it with replace()
in Fragment Manager Transaction. If you search for Fragment Replace, you'll find a lot of data.
© 2024 OneMinuteCode. All rights reserved.