From 75c26f28a1903b67eebb03e91e0cd358f499c155 Mon Sep 17 00:00:00 2001 From: Rohit-554 Date: Sun, 27 Feb 2022 21:38:51 +0530 Subject: [PATCH] Stacking Problem Resolved --- app/src/main/java/com/hazard/samarpan/LoginFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/hazard/samarpan/LoginFragment.kt b/app/src/main/java/com/hazard/samarpan/LoginFragment.kt index 6abd534..71b2a30 100644 --- a/app/src/main/java/com/hazard/samarpan/LoginFragment.kt +++ b/app/src/main/java/com/hazard/samarpan/LoginFragment.kt @@ -47,7 +47,7 @@ class LoginFragment: Fragment() { userSignUp?.setOnClickListener { val userRegistrationPage=UserRegisterFragment() activity?.supportFragmentManager?.beginTransaction()?.replace(R.id.fragment_container1,userRegistrationPage) - ?.addToBackStack(null)?.commit() + ?.commit() } btnLogin?.setOnClickListener {