79349458

Date: 2025-01-12 06:49:06
Score: 1
Natty:
Report link

If the newFragment is visible over the oldFragment then you are not replacing the correct View. Try using ParentFragmentManager instead of ChildFragmentManager:


parentFragmentManager.beginTranaction.replace(container!!.id,newFragment).commit()}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Waqar