Skip to content

Flywith24/Flywith24-Jetpack-Demo

Repository files navigation

fragment demo

demo_ 前缀的为project,即单独 app


module 描述
demo_backstack fragment 返回栈(包括单返回栈和多返回栈)
demo_databinding databinding demo
demo_lifecycle lifecycle demo
demo_livedata livedata demo
demo_livedata_vs_flow livedata_vs_flow demo
demo_concatadapter 更优雅地为 RecyclerView 添加 Header Footer
demo_paging paging demo,仅网络和网络+数据库 两种方式
demo_recyclerview_scroll 恢复 RecyclerView 滚动状态
demo_resultapi Fragment result API,Fragment 间通信新方式
demo_savestate viewmodel-savedstate实践 fragment replace 状态恢复测试
demo_singlefragment 最简单的场景生命周期分析
demo_viewmodel viewmodel demo
demo_viewpager2 fragment + viewpager2 demo

blog

screenshot

About

【背上Jetpack】demo,本仓库提供 Jetpack 一个个可以独立运行的小示例,帮助您更好的上手 Jetpack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages