Only after trying to add unit tests and instrumentation tests would you really understand that your code you have just spent so long developing was not easy to read, make changes to or to write tests for. For the most part this meant that anyone learning Android for the first time would just end up placing all their code into the Activity files and occasionally moving stuff into an AsyncTask if the app crashed with a NetworkOnMainThreadException. Previously the Android team refrained from giving advice as to how you should structure your Android applications. One of the announcements was the new architecture guidelines for Android! This is a welcome addition to the Android platform. This week at Google I/O 2017, there were a lot of new announcements for the Android Platform.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |