[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-4125":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":16,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},4125,"Fragmentation","YoKeyword\u002FFragmentation","YoKeyword","[DEPRECATED] A powerful library that manage Fragment for Android","",null,"Java",9687,2096,302,189,0,40.96,"Apache License 2.0",false,"androidx",true,[23,24,25],"activity-fragment","fragment","swipeback","2026-06-12 02:00:59","[![Android Arsenal](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAndroid%20Arsenal-Fragmentation-brightgreen.svg?style=flat)](https:\u002F\u002Fandroid-arsenal.com\u002Fdetails\u002F1\u002F5937)\n[![Build Status](https:\u002F\u002Ftravis-ci.org\u002FYoKeyword\u002FFragmentation.svg?branch=master)](https:\u002F\u002Ftravis-ci.org\u002FYoKeyword\u002FFragmentation)\n[![Download](https:\u002F\u002Fapi.bintray.com\u002Fpackages\u002Fyokeyword\u002Fmaven\u002FFragmentation\u002Fimages\u002Fdownload.svg) ](https:\u002F\u002Fbintray.com\u002Fyokeyword\u002Fmaven\u002FFragmentation\u002F_latestVersion)\n[![Hex.pm](https:\u002F\u002Fimg.shields.io\u002Fhexpm\u002Fl\u002Fplug.svg)](https:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0)\n\n# PLEASE NOTE, THIS PROJECT IS NO LONGER BEING MAINTAINED\n****\n### [中文版 README.md](https:\u002F\u002Fgithub.com\u002FYoKeyword\u002FFragmentation\u002Fblob\u002Fmaster\u002FREADME_CN.md)\n\n# FragmentationX\n\n![](\u002Fgif\u002Flogo.png)\n\nFragmentation is a powerful library managing Fragment for Android.\n\nIt is designed for \"Single Activity + Multi-Fragments\" and \"Multi-FragmentActivities + Multi-Fragments\" architecture to simplify development process.\n\n## Demo\nThe first demo shows the basic usage of the library. The second one shows the way to implement an app which is similar to Instagram. Complicated nested fragments' usage demo are also showed.\n\n## [Download APK](https:\u002F\u002Fwww.pgyer.com\u002Ffragmentation)\n\n\u003Cimg src=\"\u002Fgif\u002Fdemo1.gif\" width=\"280px\"\u002F> \u003Cimg src=\"\u002Fgif\u002Fdemo2.gif\" width=\"280px\"\u002F>\n \u003Cimg src=\"\u002Fgif\u002Fdemo3.gif\" width=\"280px\"\u002F>\n\n## Feature\n\n**1. Develop complicated nested fragment app rapidly**\n\n**2. Use fragment's stack view dialog to debug easily**\n\n**3. Add launch mode, startForResult etc. to provide similar behavior of Activity**\n\n**4. Add onBackPressedSupport() method to support back button press monitoring in Fragment**\n\n**5. Add onSupportVisible(), onLazyInitView() to simplify dev**\n\n**6. Easily manage Fragment transition animations**\n\n**7. To simplify the communication between Fragment([EventBusActivityScope module](https:\u002F\u002Fgithub.com\u002FYoKeyword\u002FFragmentation\u002Fblob\u002Fmaster\u002Feventbus_activity_scope\u002FREADME.md))**\n\n**8. Support SwipeBack to pop(Fragmentation_SwipeBack module [README](https:\u002F\u002Fgithub.com\u002FYoKeyword\u002FFragmentation\u002Fblob\u002Fmaster\u002Ffragmentation_swipeback\u002FREADME.md))**\n\n\u003Cimg src=\"\u002Fgif\u002Fstack.png\" width=\"150px\"\u002F> \u003Cimg src=\"\u002Fgif\u002Flog.png\" width=\"300px\"\u002F>       \u003Cimg src=\"\u002Fgif\u002FSwipeBack.png\" width=\"150px\"\u002F>\n\n## How do I use Fragmentation?\n### Note: This is the use of androidx, if you are using the android.support, [click here `branch:master`](https:\u002F\u002Fgithub.com\u002FYoKeyword\u002FFragmentation\u002Fblob\u002Fmaster\u002FREADME.md)\n**1、build.gradle**\n````gradle\n\u002F\u002F This is the use of androidx, if you are using the android.support: fragmentationx -> fragmentation\nimplementation 'me.yokeyword:fragmentationx:1.0.2'\n\n\u002F\u002F If you don't want to extends SupportActivity\u002FFragment and would like to customize your own support, just rely on fragmentation-core\n\u002F\u002F implementation 'me.yokeyword:fragmentationx-core:1.0.2'\n\n\u002F\u002F To get SwipeBack feature, rely on both fragmentation & fragmentation-swipeback\nimplementation 'me.yokeyword:fragmentationx:1.0.2'\n\u002F\u002F Swipeback is based on fragmentation. Refer to SwipeBackActivity\u002FFragment for your Customized SupportActivity\u002FFragment\nimplementation 'me.yokeyword:fragmentationx-swipeback:1.0.2'\n\n\u002F\u002F To simplify the communication between Fragments.\nimplementation 'me.yokeyword:eventbus-activity-scope:1.1.0'\n\u002F\u002F Your EventBus's version\nimplementation 'org.greenrobot:eventbus:{version}'\n````\n\n**2. Activity `extends` SupportActivity or `implements` ISupportActivity：(refer to [MySupportActivity](https:\u002F\u002Fgithub.com\u002FYoKeyword\u002FFragmentation\u002Fblob\u002Fmaster\u002Fdemo\u002Fsrc\u002Fmain\u002Fjava\u002Fme\u002Fyokeyword\u002Fsample\u002Fdemo_flow\u002Fbase\u002FMySupportActivity.java))**\n````java\n\u002F\u002F since v1.0.0, forced extends of SupportActivity is not required, you can use interface + delegate to implement your own SupportActivity \npublic class MainActivity extends SupportActivity {\n\n    @Override\n    protected void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n        setContentView(...);\n      \t\u002F\u002F Fragmentation is recommended to initialize in the Application\n        Fragmentation.builder()\n          \t \u002F\u002F show stack view. Mode: BUBBLE, SHAKE, NONE\n             .stackViewMode(Fragmentation.BUBBLE)\n             .debug(BuildConfig.DEBUG)\n             ...\n             .install();\n\n        if (findFragment(HomeFragment.class) == null) {\n            loadRootFragment(R.id.fl_container, HomeFragment.newInstance());  \u002F\u002Fload root Fragment\n        }\n    }\n````\n\n**3. Fragment `extends` SupportFragment or `implements` ISupportFragment：(refer to [MySupportFragment](https:\u002F\u002Fgithub.com\u002FYoKeyword\u002FFragmentation\u002Fblob\u002Fmaster\u002Fdemo\u002Fsrc\u002Fmain\u002Fjava\u002Fme\u002Fyokeyword\u002Fsample\u002Fdemo_flow\u002Fbase\u002FMySupportFragment.java))：**\n````java\n\u002F\u002F since v1.0.0, forced extends of SupportActivity is not required, you can use interface + delegate to implement your own SupportActivity\npublic class HomeFragment extends SupportFragment {\n\n    private void xxx() {\n      \t\u002F\u002F launch a new Fragment, other methods: start(fragment,SINGTASK)、startForResult、startWithPop etc.\n        start(DetailFragment.newInstance(HomeBean));\n      \t\u002F\u002F check wiki for other pop, find and animation setting related API\n    }\n}\n````\n\n## [WIKI](https:\u002F\u002Fgithub.com\u002FYoKeyword\u002FFragmentation\u002Fwiki) , [CHANGELOG](https:\u002F\u002Fgithub.com\u002FYoKeyword\u002FFragmentation\u002Fblob\u002Fmaster\u002FCHANGELOG.md)\n\n## LICENSE\n````\nCopyright 2016 YoKey\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n````\n","Fragmentation 是一个强大的 Android Fragment 管理库，主要用于简化“单 Activity + 多 Fragments”或“多 FragmentActivity + 多 Fragments”架构下的开发流程。其核心功能包括快速开发复杂的嵌套 Fragment 应用、使用 Fragment 栈视图对话框便于调试、为 Fragment 添加启动模式及 startActivityForResult 等类似 Activity 的行为、支持 Fragment 中的返回键监听、懒加载视图以及管理 Fragment 之间的过渡动画等。此外，它还支持 SwipeBack 功能以实现滑动返回效果。此项目适用于需要高效管理和操作多个 Fragment 的 Android 应用场景中，能够显著提高开发效率和用户体验。尽管该项目已不再维护，但其提供的功能对于采用上述架构的应用依然具有很高的参考价值。",2,"2026-06-11 02:58:35","top_language"]