All Projects → JingYeoh → Fragmentrigger

JingYeoh / Fragmentrigger

Licence: mit
💥A powerful library powered by AOP to manage Fragments.(一个基于AOP设计的Fragment管理框架)

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Fragmentrigger

Fragmentation
[DEPRECATED] A powerful library that manage Fragment for Android
Stars: ✭ 9,713 (+329.78%)
Mutual labels:  fragment, swipeback, activity-fragment
android-aop-analytics
Demo application that implements Google Analytics tracking in an aspect-oriented way using AspectJ.
Stars: ✭ 31 (-98.63%)
Mutual labels:  aop, aspectj
metrics-aspectj
AspectJ integration for Dropwizard Metrics
Stars: ✭ 78 (-96.55%)
Mutual labels:  aop, aspectj
Lazyfragment
类似微信,网易新闻 延迟加载Fragment基类 , 支持与ViewPager组合刷新全部Fragment
Stars: ✭ 391 (-82.7%)
Mutual labels:  fragments, fragment
Base
🍁 Base是针对于Android开发封装好一些常用的基类,主要包括通用的Adapter、Activity、Fragment、Dialog等、和一些常用的Util类,只为更简单。
Stars: ✭ 249 (-88.98%)
Mutual labels:  fragments, fragment
T Mvp
Android AOP Architecture by Apt, AspectJ, Javassisit, based on Realm+Databinding+MVP+Retrofit+Rxjava2
Stars: ✭ 2,740 (+21.24%)
Mutual labels:  aop, aspectj
Paonet
【MVVM+RxJava2+AspectJ】泡网第三方客户端,网站主页:http://www.jcodecraeer.com/index.php
Stars: ✭ 374 (-83.45%)
Mutual labels:  aop, aspectj
Crepecake
An compile-time aop engine like AspectJ but easier to use in android application development.
Stars: ✭ 103 (-95.44%)
Mutual labels:  aop, aspectj
Fragnav
An Android library for managing multiple stacks of fragments
Stars: ✭ 1,379 (-38.98%)
Mutual labels:  fragments, fragment
Androidlearn
Android Custom Views
Stars: ✭ 66 (-97.08%)
Mutual labels:  aop, aspectj
Automon
Automon combines the power of AOP (AspectJ) with monitoring or logging tools you already use to declaratively monitor your Java code, the JDK, and 3rd party libraries.
Stars: ✭ 548 (-75.75%)
Mutual labels:  aop, aspectj
Tieguanyin
Activity Builder.
Stars: ✭ 113 (-95%)
Mutual labels:  fragments, fragment
Flowr
FlowR is a wrapper class around the Fragment Manager.
Stars: ✭ 123 (-94.56%)
Mutual labels:  fragments, fragment
Raised Center Tab In Android
Customized tabhost having raised center tab.
Stars: ✭ 158 (-93.01%)
Mutual labels:  fragment
Ray.di
Guice style dependency injection framework for PHP
Stars: ✭ 175 (-92.26%)
Mutual labels:  aop
Virtualxposed
A simple app to use Xposed without root, unlock the bootloader or modify system image, etc.
Stars: ✭ 12,648 (+459.65%)
Mutual labels:  aop
Weihanli.common
common tools,methods,extension methods etc... .net 常用工具类,公共方法,常用扩展方法等,基础类库
Stars: ✭ 152 (-93.27%)
Mutual labels:  aop
Bgaswipebacklayout Android
Android Activity 滑动返回。支持微信滑动返回样式、横屏滑动返回、全屏滑动返回
Stars: ✭ 2,251 (-0.4%)
Mutual labels:  swipeback
Openie Spider
Extract Information from web corpus using Open Information Extraction.
Stars: ✭ 174 (-92.3%)
Mutual labels:  fragments
Smartswipe
An android library to make swipe more easier and more powerful. Android各种侧滑,有这一个就够了
Stars: ✭ 1,911 (-15.44%)
Mutual labels:  swipeback

FragmentRigger

R i g g e r

💥A powerful library to manage Fragments. 一个强大的Fragment管理框架。(中文版入口

Platform Download SDK Build AsPectJ JingYeoh

This might is the library that at the least cost of use to manage fragments.
No need to extend any class!!! No need to extend any class!!! No need to extend any class!!! the most important thing must be said for three times!!!
You can use this FragmentRigger with one line annotation.
Principle: define the pointcuts for Fragment/Activity lifecycle methods and bind to the proxy class to execute.

Demo

This library support usual fragment using scenes,if you found the scene that this library does not supported,you can post Issues or Email me

Stack manager Show Lazy loading Replace

Goal

  • Make Fragment use easier.
  • At the least cost of use to manage fragments.

Wiki

Getting Started

Information

Feature

  • Powerful api
  • Enough English notes
  • Strictest exceptions
  • Resolve usual exceptions and bugs in fragments
  • Never lost any fragment transaction commit
  • Extend the android native fragment methods,add some usual methods such as onBackPressed()
  • Print tree for the fragment stack
  • Fragment lazy load
  • Fragment transition animations
  • Option to configure fragment tag
  • Add onBackPressed method support for the fragment that is not added into stack
  • Swipe edge to exit Fragment/Activity
  • Option to configure fragment launch mode
  • Fragment shared elements transition animations
  • Support DialogFragment

Problem solved

  • Fragment view overlapping
  • Fragment Multi-level showing
  • Fragment stack manager
  • Fragment transaction commit failed
  • Commit the transaction when the host activity is not resumed
  • Multiple commits are interconnected but the fragment transaction commit does not happen immediately
  • A series of exceptions when memory restarting
  • Data saved and restored when the screen is flipped
  • Can not perform this action after onSaveInstanceState
  • Lazy loading in ViewPager and other scenarios
  • The animation does not perform in different scenarios

Usage example

This library provides powerful api.

1、Add support for your classes

Add @Puppet annotation for your Activity/Fragment that need to use this library.

//MainActivity.java
@Puppet(containerViewId = R.id.atyContent)//containerViewId is the fragment to be placed in.
public class MainActivity extends AppCompatActivity
//TestFragment.java
@Puppet
public class TestFragment extends Fragment

2、Fragment usage

After add @Puppet annotation, use the proxy class Rigger to manage fragments.

@Puppet(containerViewId = R.id.atyContent)
public class MainActivity extends AppCompatActivity{
  ...
  //add and show a fragment and add it to the stack,this fragment is placed in the container view.
   Rigger.getRigger(this).startFragment(TestFragment.newInstance());
}

3、Activity/Fragment swipe back to exit

Add Swiper annotation for your Activity/Fragment.

@Swiper
@Puppet
public class MainActivity extends AppCompatActivity{
    // swiper can only used with puppet.
}
@Swiper
@Puppet
public class TestFragment extends Fragment{
    // swiper can only used with puppet.
}

License

This library is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].