Before code can be accepted, all contributors must complete our Individual Contributor License Agreement (CLA).
This project uses Git submodules to build our branch of AndroidX Paging alongside our common API declarations.
You'll need to run these commands before you can build:
git submodule update --init --remote
The primary branches are:
androidx-main-${version}
– a pruned fork of AndroidX containing the multiplatformizedpaging-common
andpaging-runtime
code at the specified AndroidX Pagingversion
. For example,androidx-main-3.1.1
is a multiplatformized version of AndroidX Paging 3.1.1.main
– contains type aliases to the multiplatformized code inandroidx-main
on iOS, and type aliases to theandroidx.paging:paging-X
artifact on JVM. The submoduleupstreams/androidx-main-${version}
points to the respectiveandroidx-main-${version}
branch.
- Locate the desired release on the AndroidX Paging releases page.
- Click the 'Version X contains these commits' link.
- Copy the second SHA in the URL. For example, the second SHA in the 3.1.1 release commits would be 65c8f2c53158200a61e0e1cc012cdbbadaee60ab.
git fetch https://android.googlesource.com/platform/frameworks/support ${COPIED_SHA}
git switch -c androidx-main-${X} ${COPIED_SHA}
.- Cherry-pick the Multiplatform Paging commits from
androidx-main-${Y}
ontoandroidx-main-${X}
.Y
should be the version closest toX
.
- Compose Multiplatform IDE Support - This adds support for IDE preview of composable functions marked by @Preview annotations