JetPackMvvm
A Jetpack combined with the MVVM rapid development framework
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. ...