当前位置: 首页>>代码示例>>Java>>正文


Java FragmentDelegate类代码示例

本文整理汇总了Java中com.jess.arms.base.delegate.FragmentDelegate的典型用法代码示例。如果您正苦于以下问题:Java FragmentDelegate类的具体用法?Java FragmentDelegate怎么用?Java FragmentDelegate使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


FragmentDelegate类属于com.jess.arms.base.delegate包,在下文中一共展示了FragmentDelegate类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: onFragmentCreated

import com.jess.arms.base.delegate.FragmentDelegate; //导入依赖的package包/类
@Override
public void onFragmentCreated(FragmentManager fm, Fragment f, Bundle savedInstanceState) {
    super.onFragmentCreated(fm, f, savedInstanceState);
    Timber.w(f.toString() + " - onFragmentCreated");
    FragmentDelegate fragmentDelegate = fetchFragmentDelegate(f);
    if (fragmentDelegate != null) {
        fragmentDelegate.onCreate(savedInstanceState);
    }
}
 
开发者ID:yangxp108,项目名称:MVPArms_Fragment-fragment,代码行数:10,代码来源:ActivityLifecycle.java

示例2: onFragmentViewCreated

import com.jess.arms.base.delegate.FragmentDelegate; //导入依赖的package包/类
@Override
public void onFragmentViewCreated(FragmentManager fm, Fragment f, View v, Bundle savedInstanceState) {
    super.onFragmentViewCreated(fm, f, v, savedInstanceState);
    Timber.w(f.toString() + " - onFragmentViewCreated");
    FragmentDelegate fragmentDelegate = fetchFragmentDelegate(f);
    if (fragmentDelegate != null) {
        fragmentDelegate.onCreateView(v, savedInstanceState);
    }
}
 
开发者ID:yangxp108,项目名称:MVPArms_Fragment-fragment,代码行数:10,代码来源:ActivityLifecycle.java

示例3: onFragmentActivityCreated

import com.jess.arms.base.delegate.FragmentDelegate; //导入依赖的package包/类
@Override
public void onFragmentActivityCreated(FragmentManager fm, Fragment f, Bundle savedInstanceState) {
    super.onFragmentActivityCreated(fm, f, savedInstanceState);
    Timber.w(f.toString() + " - onFragmentActivityCreated");
    FragmentDelegate fragmentDelegate = fetchFragmentDelegate(f);
    if (fragmentDelegate != null) {
        fragmentDelegate.onActivityCreate(savedInstanceState);
    }
}
 
开发者ID:yangxp108,项目名称:MVPArms_Fragment-fragment,代码行数:10,代码来源:ActivityLifecycle.java

示例4: onFragmentStarted

import com.jess.arms.base.delegate.FragmentDelegate; //导入依赖的package包/类
@Override
public void onFragmentStarted(FragmentManager fm, Fragment f) {
    super.onFragmentStarted(fm, f);
    Timber.w(f.toString() + " - onFragmentStarted");
    FragmentDelegate fragmentDelegate = fetchFragmentDelegate(f);
    if (fragmentDelegate != null) {
        fragmentDelegate.onStart();
    }
}
 
开发者ID:yangxp108,项目名称:MVPArms_Fragment-fragment,代码行数:10,代码来源:ActivityLifecycle.java

示例5: onFragmentResumed

import com.jess.arms.base.delegate.FragmentDelegate; //导入依赖的package包/类
@Override
public void onFragmentResumed(FragmentManager fm, Fragment f) {
    super.onFragmentResumed(fm, f);
    Timber.w(f.toString() + " - onFragmentResumed");
    FragmentDelegate fragmentDelegate = fetchFragmentDelegate(f);
    if (fragmentDelegate != null) {
        fragmentDelegate.onResume();
    }
}
 
开发者ID:yangxp108,项目名称:MVPArms_Fragment-fragment,代码行数:10,代码来源:ActivityLifecycle.java

示例6: onFragmentPaused

import com.jess.arms.base.delegate.FragmentDelegate; //导入依赖的package包/类
@Override
public void onFragmentPaused(FragmentManager fm, Fragment f) {
    super.onFragmentPaused(fm, f);
    Timber.w(f.toString() + " - onFragmentPaused");
    FragmentDelegate fragmentDelegate = fetchFragmentDelegate(f);
    if (fragmentDelegate != null) {
        fragmentDelegate.onPause();
    }
}
 
开发者ID:yangxp108,项目名称:MVPArms_Fragment-fragment,代码行数:10,代码来源:ActivityLifecycle.java

示例7: onFragmentStopped

import com.jess.arms.base.delegate.FragmentDelegate; //导入依赖的package包/类
@Override
public void onFragmentStopped(FragmentManager fm, Fragment f) {
    super.onFragmentStopped(fm, f);
    Timber.w(f.toString() + " - onFragmentStopped");
    FragmentDelegate fragmentDelegate = fetchFragmentDelegate(f);
    if (fragmentDelegate != null) {
        fragmentDelegate.onStop();
    }
}
 
开发者ID:yangxp108,项目名称:MVPArms_Fragment-fragment,代码行数:10,代码来源:ActivityLifecycle.java

示例8: onFragmentViewDestroyed

import com.jess.arms.base.delegate.FragmentDelegate; //导入依赖的package包/类
@Override
public void onFragmentViewDestroyed(FragmentManager fm, Fragment f) {
    super.onFragmentViewDestroyed(fm, f);
    Timber.w(f.toString() + " - onFragmentViewDestroyed");
    FragmentDelegate fragmentDelegate = fetchFragmentDelegate(f);
    if (fragmentDelegate != null) {
        fragmentDelegate.onDestroyView();
    }
}
 
开发者ID:yangxp108,项目名称:MVPArms_Fragment-fragment,代码行数:10,代码来源:ActivityLifecycle.java

示例9: onFragmentDestroyed

import com.jess.arms.base.delegate.FragmentDelegate; //导入依赖的package包/类
@Override
public void onFragmentDestroyed(FragmentManager fm, Fragment f) {
    super.onFragmentDestroyed(fm, f);
    Timber.w(f.toString() + " - onFragmentDestroyed");
    FragmentDelegate fragmentDelegate = fetchFragmentDelegate(f);
    if (fragmentDelegate != null) {
        fragmentDelegate.onDestroy();
    }
}
 
开发者ID:yangxp108,项目名称:MVPArms_Fragment-fragment,代码行数:10,代码来源:ActivityLifecycle.java

示例10: onFragmentDetached

import com.jess.arms.base.delegate.FragmentDelegate; //导入依赖的package包/类
@Override
public void onFragmentDetached(FragmentManager fm, Fragment f) {
    super.onFragmentDetached(fm, f);
    Timber.w(f.toString() + " - onFragmentDetached");
    FragmentDelegate fragmentDelegate = fetchFragmentDelegate(f);
    if (fragmentDelegate != null) {
        fragmentDelegate.onDetach();
        f.getArguments().clear();
    }
}
 
开发者ID:yangxp108,项目名称:MVPArms_Fragment-fragment,代码行数:11,代码来源:ActivityLifecycle.java

示例11: onFragmentCreated

import com.jess.arms.base.delegate.FragmentDelegate; //导入依赖的package包/类
@Override
public void onFragmentCreated(FragmentManager fm, Fragment f, Bundle savedInstanceState) {
    Timber.w(f.toString() + " - onFragmentCreated");
    FragmentDelegate fragmentDelegate = fetchFragmentDelegate(f);
    if (fragmentDelegate != null) {
        fragmentDelegate.onCreate(savedInstanceState);
    }
}
 
开发者ID:Superingxz,项目名称:MoligyMvpArms,代码行数:9,代码来源:FragmentLifecycle.java

示例12: onFragmentViewCreated

import com.jess.arms.base.delegate.FragmentDelegate; //导入依赖的package包/类
@Override
public void onFragmentViewCreated(FragmentManager fm, Fragment f, View v, Bundle savedInstanceState) {
    Timber.w(f.toString() + " - onFragmentViewCreated");
    FragmentDelegate fragmentDelegate = fetchFragmentDelegate(f);
    if (fragmentDelegate != null) {
        fragmentDelegate.onCreateView(v, savedInstanceState);
    }
}
 
开发者ID:Superingxz,项目名称:MoligyMvpArms,代码行数:9,代码来源:FragmentLifecycle.java

示例13: onFragmentActivityCreated

import com.jess.arms.base.delegate.FragmentDelegate; //导入依赖的package包/类
@Override
public void onFragmentActivityCreated(FragmentManager fm, Fragment f, Bundle savedInstanceState) {
    Timber.w(f.toString() + " - onFragmentActivityCreated");
    FragmentDelegate fragmentDelegate = fetchFragmentDelegate(f);
    if (fragmentDelegate != null) {
        fragmentDelegate.onActivityCreate(savedInstanceState);
    }
}
 
开发者ID:Superingxz,项目名称:MoligyMvpArms,代码行数:9,代码来源:FragmentLifecycle.java

示例14: onFragmentStarted

import com.jess.arms.base.delegate.FragmentDelegate; //导入依赖的package包/类
@Override
public void onFragmentStarted(FragmentManager fm, Fragment f) {
    Timber.w(f.toString() + " - onFragmentStarted");
    FragmentDelegate fragmentDelegate = fetchFragmentDelegate(f);
    if (fragmentDelegate != null) {
        fragmentDelegate.onStart();
    }
}
 
开发者ID:Superingxz,项目名称:MoligyMvpArms,代码行数:9,代码来源:FragmentLifecycle.java

示例15: onFragmentResumed

import com.jess.arms.base.delegate.FragmentDelegate; //导入依赖的package包/类
@Override
public void onFragmentResumed(FragmentManager fm, Fragment f) {
    Timber.w(f.toString() + " - onFragmentResumed");
    FragmentDelegate fragmentDelegate = fetchFragmentDelegate(f);
    if (fragmentDelegate != null) {
        fragmentDelegate.onResume();
    }
}
 
开发者ID:Superingxz,项目名称:MoligyMvpArms,代码行数:9,代码来源:FragmentLifecycle.java


注:本文中的com.jess.arms.base.delegate.FragmentDelegate类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。