Skip to content

Instantly share code, notes, and snippets.

@cesclong
Created March 19, 2021 03:12
Show Gist options
  • Save cesclong/e9347fb47834f125b35eee8126d74259 to your computer and use it in GitHub Desktop.
Save cesclong/e9347fb47834f125b35eee8126d74259 to your computer and use it in GitHub Desktop.
support下的Jetpack依赖
// ViewModel and LiveData
implementation "android.arch.lifecycle:extensions:1.1.0"
// alternatively, just ViewModel
implementation "android.arch.lifecycle:viewmodel:1.1.0"
// alternatively, just LiveData
implementation "android.arch.lifecycle:livedata:1.1.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment