A Jetpack combined with the MVVM rapid development framework, based on the MVVM model to integrate the JetPack component library officially recommended by Google: LiveData, ViewModel, Lifecycle, and Navigation components use Kotlin language, add a lot of extension functions, simplify the code and add Retrofit network requests, coroutines, to help you Simplify various operations, allowing you to quickly develop projects. The sample format is the data format returned by the Android Api. If the errorCode is equal to 0, the request is successful, otherwise the request fails. From the developer's point of view, we mainly want to get the unpacking data-data, and we don't want to judge errorCode==0 every time. Whether the request is successful or failed At this time, we can inherit BaseResponse in the server return database class and implement related methods.

Features

  • Based on the MVVM pattern
  • Integrate Google's officially recommended JetPack component library
  • Using the kotlin language, add a lot of extension functions to simplify the code
  • Join Retrofit network requests, coroutines, help you simplify various operations, and let you quickly request the network
  • Add the Jitpack repository to root's build.gradle
  • Inherit the base class
  • Write a login function

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

Apache License V2.0

Follow JetPackMvvm

JetPackMvvm Web Site

Other Useful Business Software
Keep company data safe with Chrome Enterprise Icon
Keep company data safe with Chrome Enterprise

Protect your business with AI policies and data loss prevention in the browser

Make AI work your way with Chrome Enterprise. Block unapproved sites and set custom data controls that align with your company's policies.
Download Chrome
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of JetPackMvvm!

Additional Project Details

Programming Language

Kotlin

Related Categories

Kotlin Frameworks

Registered

2023-02-15