Newbie here, learning Android. I always try to follow single activity architecture but I always wondered what use case would need me to have multi activity. Got all my doubts cleared. Thankyou for sharing.
hey I am also a newbie (tho been learnign from YT for over 2 months now) I am now able to make applications but where do you get these kind of infos For eg in the last application I made of a gym I made a separate activity for every feature [AM I COOKED? ]
@0x5HUVO yes... For the UI ... U must learn either XML or Jetpack compose.. for now Jetpack compose is recommended.. coz XML has got old... But learning basics of XML and layouts before learning jetpack compose would help..
I took a class on Android programming 8 years ago using Java and XML. I've only recently gotten back into it, and I've switched to Kotlin from Java, but I wasn't sure about the benefits of using Compose, so this was really informative! Thank you!
also there is one extra use-case on the table at least in my opinion. When you are using external tools/sdks, it is in my opinion much cleaner to launch an activity e. g. for scanning barcodes etc.
Damn. I wish I saw this earlier or researched more about this. Recently got a client to build a some what complex app and coming from Java and XML, I didn't know Single Activities are not recommended. This explains why my custom nav bar animation lags on low end devices
If I start koin in My Application class and I use the dependency in my Second Activity so Does that Work? and Does I have to make another NavHost for the Second Activity?
Some other examples of when a separate activity could be easier: - Data collection policy UI mandatory for Health Connect - License notices UI generated automatically by a Gradle plugin
When i learn android by creating a alarm pet project, i create a separate activity for an alarm ringing display for snooze and stop. What is you guy thought?
Again every guidelines are just a guide not a rule or law that one should never break, don't be too religious. Another great content! You made me want to implement a PiP feature on my project just by mentioning it since it looks pretty simple.
Newbie here, learning Android. I always try to follow single activity architecture but I always wondered what use case would need me to have multi activity. Got all my doubts cleared. Thankyou for sharing.
hey I am also a newbie (tho been learnign from YT for over 2 months now) I am now able to make applications but where do you get these kind of infos
For eg in the last application I made of a gym I made a separate activity for every feature [AM I COOKED?
]
Jetpack compose + Single Activity Architecture is the greatest combo... 🔥
Hello, i'm new to android development..learning kotlin ,do i need to learn jetpack compose or xml for the ui? can you help me pls
@0x5HUVO yes... For the UI ... U must learn either XML or Jetpack compose.. for now Jetpack compose is recommended.. coz XML has got old... But learning basics of XML and layouts before learning jetpack compose would help..
I took a class on Android programming 8 years ago using Java and XML. I've only recently gotten back into it, and I've switched to Kotlin from Java, but I wasn't sure about the benefits of using Compose, so this was really informative! Thank you!
I've always used single activity architecture, didn't know its recommended that way
Thanks a lot. You finally answered the question that had been lingering in the back of my mind for a long time.
Thank you very much, as always interesting and informative, I tried to make a pip, it turned out not to be difficult
Great video! This is going to be super helpful for anyone starting Android development today!
also there is one extra use-case on the table at least in my opinion. When you are using external tools/sdks, it is in my opinion much cleaner to launch an activity e. g. for scanning barcodes etc.
Damn. I wish I saw this earlier or researched more about this. Recently got a client to build a some what complex app and coming from Java and XML, I didn't know Single Activities are not recommended. This explains why my custom nav bar animation lags on low end devices
Thank you dear, Great Man!!
If I start koin in My Application class and I use the dependency in my Second Activity so Does that Work? and Does I have to make another NavHost for the Second Activity?
Another back to back banger video. Thank you Philipp for providing quality content where it truly needed the most😊
Bump lol
as always, thank you very much for the video
Some other examples of when a separate activity could be easier:
- Data collection policy UI mandatory for Health Connect
- License notices UI generated automatically by a Gradle plugin
Bit of a random question: which theme do you use for Android Studio?
Thanks ❤
Can u make a video about custom LazyLayout compose 😊
When i learn android by creating a alarm pet project, i create a separate activity for an alarm ringing display for snooze and stop. What is you guy thought?
Thanks. Please make a video with some examples of Single Activity Architecture
@@guyguy467 all apps that don't fall under these exceptions here
😂
I guess the "Activity" has evolved from being used as a "Screen" to rather being used as a "Window"
how about putting two activity at the same time, google talk about this recently
What about when user click on notification and open a screen? Can it be done in single activity?
yes
@@everythingjdm8057 deeplinks or how?
Again every guidelines are just a guide not a rule or law that one should never break, don't be too religious. Another great content! You made me want to implement a PiP feature on my project just by mentioning it since it looks pretty simple.
Did not see pip coming
how about dynamic feature (and it's navigation)?
@@kanzel88 true, that's another exception
TLDR: EVERY SINGLE TIME!!! 😂 (Not a spoiler i havent watched it fully yet)
Simply show dialogue for force update
❤🧡💙 👌
Gokilll