# LazyFragment **Repository Path**: goweii/LazyFragment ## Basic Information - **Project Name**: LazyFragment - **Description**: 懒加载Fragment,提供可见和隐藏的回调,支持在ViewPager中多重嵌套,支持support和androidx - **Primary Language**: Java - **License**: LGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 9 - **Forks**: 0 - **Created**: 2020-06-24 - **Last Updated**: 2025-08-25 ## Categories & Tags **Categories**: android-modules **Tags**: None ## README # LazyFragment ## DEMO下载 [androidx-demo](https://github.com/goweii/LazyFragment/raw/master/appx/release/app-release.apk) [support-demo](https://github.com/goweii/LazyFragment/raw/master/app/release/app-release.apk) ## 集成 - ### 添加jitpack库 ```java // build.gradle(Project:) allprojects { repositories { ... maven { url 'https://www.jitpack.io' } } } ``` - ### 添加依赖 [点击查看最新版本号](https://github.com/goweii/LazyFragment/releases) ```java // build.gradle(Module:) dependencies { // support implementation 'com.github.goweii.LazyFragment:lazyfragment:1.1.0' // androidx implementation 'com.github.goweii.LazyFragment:lazyfragmentx:1.1.0' } ```