You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// val exploreFrag = ExploreFragment()
// val chatFragment = ChatFragment()
// val notificationFrag = NotificationsFragment()
// val userFrag = UserFragment()
//
fragment(homeFrag)
}
private fun fragment(fragment: Fragment)
{
val fragmentManager = supportFragmentManager
val fragmentTransaction = fragmentManager.beginTransaction()
fragmentTransaction.replace(R.id.frame, fragment).addToBackStack(Fragment::class.java.simpleName)
fragmentTransaction.commit()
}
The text was updated successfully, but these errors were encountered:
// val exploreFrag = ExploreFragment()
// val chatFragment = ChatFragment()
// val notificationFrag = NotificationsFragment()
// val userFrag = UserFragment()
The text was updated successfully, but these errors were encountered: