talira

Android Jetpack

A suite of libraries for building Android apps

open sourceApache-2.0free

Android Jetpack is Google's suite of libraries for Android apps, published in the androidx namespace (AndroidX), which replaced the Android Support Library. Each library is versioned and updated on its own and works consistently across Android versions and devices: Room for a local SQLite database, WorkManager for background work, Navigation, Lifecycle and ViewModel for app architecture, Paging, DataStore, CameraX, AppCompat, Fragment, Hilt integration, AppSearch and many more, with Jetpack Compose as its UI toolkit. The libraries are Apache-2.0 and send no user data to any backend.

Problems it solves

  • store data in a local database in my Android app without writing raw SQL
  • run background jobs on Android that survive app restarts
  • handle screen rotation and lifecycle in my Android app without leaks
  • migrate my Android app off the deprecated Support Library

Features

  • Room: a SQLite database layer with compile-time checked queries
  • WorkManager for deferrable, guaranteed background work
  • Navigation, Lifecycle and ViewModel for app architecture
  • Paging and DataStore for data loading and storage
  • CameraX for camera apps
  • AppCompat for new APIs on older Android versions
  • each library versioned and updated separately
  • replaces the Android Support Library