Hey everyone, I recently study about advantages of...
# android
u
Hey everyone, I recently study about advantages of using single activity in an app. so while building my own app I started to wonder if it is recommended to have login/signup fragment and home screen in a single activity. if anyone has any opinions on this, please share. Thank you in advance. 🙂
😶 3
c
Not kotlin related so you're not really going to get too many answers. Better off looking for some other android communities. I would check out this video to answer your questions though:

https://www.youtube.com/watch?v=09qjn706ITA&t=285s

n
Using Navigation architecture you can have all the fragments in your app in an single activity.
@Ujjwal Mittal
u
Yeah I am using navigation architecture component in my app, just want to know whether having login fragment and home fragment in single activity is a better practice or not @Nimish Nandwana
n
yeah, totally cool. Go ahead
👍 1
u
@Colton Idle yeah I realized that, but thank you for sharing the video, means a lot.🙂
@Nimish Nandwana Thank you so much for your reply. 😄
1