Skip to content

This repository is the final result of the source code that is created at a webinar event Talk About IT PRAKOM SRAGEN 2019 [Create a Simple Android Native App]

Notifications You must be signed in to change notification settings

mangasep/newsApp

Repository files navigation

News App

This repository is the final result of the source code that is created at a webinar event Talk About IT PRAKOM SRAGEN 2019 [Create a Simple Android Native App]

This project built with 🛠

  • 100% Kotlin
  • [MVVM] - Architecture Pattern
  • ViewModel - Stores UI-related data that isn't destroyed on UI changes.
  • Retrofit - A type-safe HTTP client for Android and Java.
  • Glide - image loading library
  • LiveData - notify views about data change
  • Lifecycle - perform an action when lifecycle state changes
  • ViewBinding - Generates a binding class for each XML layout file present in that module and allows you to more easily write code that interacts with views.

Implementation step by step

  • Add dependencies to your project
  • Create different package that relate to MVVM
  • Design XML
  • Create class to configure networking and API Interface
  • Create model data class from JSON API
  • Create repository to remote data from API
  • Create View Model
  • Create View Activity and Adapter ReclerView
  • Finally, run to emulator

Image Result

image

About

This repository is the final result of the source code that is created at a webinar event Talk About IT PRAKOM SRAGEN 2019 [Create a Simple Android Native App]

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages