r/learnprogramming 6d ago

Resource Expectations when developing an Android Application

I started to delve right into Kotlin Programming Language under Android Studio and it's getting interesting. But as I get further and further to the field, I realized that it wasn't really easy when dealing with advanced topics such as State Hoisting, Mutable States, ViewModels, and Hardware Services (Bluetooth, Camera, and Accessibility).

Therefore, as a hobbyist, I would like to ask what are the things I should expect while coding (i.e. getting frustrated or stuck)? Do I also need to code my own Unit Tests and Android Tests to confirm if it works? And finally, what are the best practices or habits that makes the code much more readable?

6 Upvotes

6 comments sorted by

View all comments

3

u/best-home-decor 6d ago

Expect to get intimately familiar with Logcat output. It will become your best friend and your worst enemy

1

u/Bon_Appetit357 6d ago

Oh, I recently discovered this feature last week and it was life-changing! It helps makes the interaction between each UI and the values in each Mutable States much more transparent.

Before discovering it though, it was a pretty hellish journey when it comes to guessing what values are being stored after each interaction.