Ask HN: Clean Android development in 2018?
6 コメント
There are lots of online resources for learning Android - Pluralsight, Udemy, Treehouse and going through the Android dev basics site
https://developer.android.com/training/basics/firstapp/
Not sure what you mean by "clean". APIs and Frameworks are always evolving. You have to keep up to date and understand the main problem sets that are part of the platform (loading Bitmaps efficiently, activity lifecycle, etc.). And no Fragments are not being discontinued. You are probably referring to the guidelines to use the support Fragment library instead of the older Fragment classes.
I build mobile apps for a living and if you want long term stability and performance, my advice would be to go native with Java/Kotlin. If you ever want to build for iOS it's not that hard to pick up Swift/XCode - the platforms become more and more similar as they evolve.
There are plenty of people using RN and maybe Flutter too but all the mobile devs I know who work for clients and / or ship their own apps use Java / Swift.
Feel free to comment if you have more questions.
Enjoy!
https://developer.android.com/training/basics/firstapp/
Not sure what you mean by "clean". APIs and Frameworks are always evolving. You have to keep up to date and understand the main problem sets that are part of the platform (loading Bitmaps efficiently, activity lifecycle, etc.). And no Fragments are not being discontinued. You are probably referring to the guidelines to use the support Fragment library instead of the older Fragment classes.
I build mobile apps for a living and if you want long term stability and performance, my advice would be to go native with Java/Kotlin. If you ever want to build for iOS it's not that hard to pick up Swift/XCode - the platforms become more and more similar as they evolve.
There are plenty of people using RN and maybe Flutter too but all the mobile devs I know who work for clients and / or ship their own apps use Java / Swift.
Feel free to comment if you have more questions.
Enjoy!
I think learning Android in 2018 is very exciting now as Google officially supports Kotlin and introduction of new set of libraries such as Android Jetpack.
https://developer.android.com/jetpack/
By following newly introduced jetpack, you could avoid most of the deprecated libraries.
And going through the google architecture blueprints repo and sample https://github.com/googlesamples/android-architecture will help you understand how you should approach to your new apps development and help you get started in a right way.
And going through the google architecture blueprints repo and sample https://github.com/googlesamples/android-architecture will help you understand how you should approach to your new apps development and help you get started in a right way.
Thanks for the suggestion! Kotlin looks great under many perspectives, way better than Java probably for my needs
Used to do Android dev - if you're referring to CLEAN as in the specific architecture I believe it's way overkill for mobile apps unless you're doing something truly complex.
Most apps simply present content from an API and you can simply use an MVP/MVC architecture.
Imo the only libraries you'd need are for http (retrofit), possibly image loading (glide), and caching (disk lru cache).
You can also ask on Reddit.com/r/androiddev - lots of great people there.
Fwiw, I've mostly moved to flutter for mobile but it is definitely not feature complete.
Most apps simply present content from an API and you can simply use an MVP/MVC architecture.
Imo the only libraries you'd need are for http (retrofit), possibly image loading (glide), and caching (disk lru cache).
You can also ask on Reddit.com/r/androiddev - lots of great people there.
Fwiw, I've mostly moved to flutter for mobile but it is definitely not feature complete.
Flutter looks great to me, has it improved in the last 3 months or so? I remember downloading its first public release, and as expected it was lacking some things
Kotlin helps a lot with the code readability. IMHO.
Thanks HN!