本文整理汇总了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);
}
}
示例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);
}
}
示例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);
}
}
示例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();
}
}
示例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();
}
}
示例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();
}
}
示例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();
}
}
示例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();
}
}
示例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();
}
}
示例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();
}
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例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();
}
}
示例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();
}
}