Create one fragment and reuse it
I have 2 fragments a and b in which there is a container for fragments, I need to place a separate fragment x in these 2 containers so that the nested fragment x is not recreated when switching between fragments a and b, create a singleton from fragment x. Please tell me how can i implement this