简体   繁体   中英

Use different versions of paging library in the same project

How can I use paging 2 in one module and paging 3 in another module? Now I have paging 3 dependencies pulled into both modules

in the module connection where I used paging 3, I used this code:

exclude(group = "androidx.paging", module = "paging-runtime")
exclude(group = "androidx.paging", module = "paging-compose")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM