The main aim of this sample app is show how to use the new Architecture Guidelines with Kotlin. It uses Room Persistence Library to provide offline functionalityĪpp first loads the data from DB and then checks for fresh data from API, API is only called if DB data is empty or expired It uses Retrofit 2 to fetch news sources and news headlines from the API and displays in a RecyclerView. ![]() ![]() This app uses NewsAPI to get various sources and each source can provide major headlines. This is just a sample app explaining the new Architecture Guidelines written in Kotlin. Android Architecture Components were announced in Google I/O 2017
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |