本文整理了Java中android.app.FragmentManager.enableDebugLogging()
方法的一些代码示例,展示了FragmentManager.enableDebugLogging()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。FragmentManager.enableDebugLogging()
方法的具体详情如下:
包路径:android.app.FragmentManager
类名称:FragmentManager
方法名:enableDebugLogging
暂无
代码示例来源:origin: jamorham/xDrip-plus
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
private static void enableApiLevel11Debugging()
{
android.app.LoaderManager.enableDebugLogging(true);
android.app.FragmentManager.enableDebugLogging(true);
}
}
代码示例来源:origin: eliotstocker/Light-Controller
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
private static void enableApiLevel11Debugging()
{
android.app.LoaderManager.enableDebugLogging(true);
android.app.FragmentManager.enableDebugLogging(true);
}
}
代码示例来源:origin: NightscoutFoundation/xDrip
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
private static void enableApiLevel11Debugging()
{
android.app.LoaderManager.enableDebugLogging(true);
android.app.FragmentManager.enableDebugLogging(true);
}
}
代码示例来源:origin: li2/learning-android-open-source
@Override
protected void onCreate(Bundle savedInstanceState) {
FragmentManager.enableDebugLogging(true);
super.onCreate(savedInstanceState);
final ActionBar bar = getActionBar();
bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
bar.setDisplayOptions(0, ActionBar.DISPLAY_SHOW_TITLE);
bar.addTab(bar.newTab()
.setText("Menus")
.setTabListener(new TabListener<FragmentMenuFragment>(
this, "menus", FragmentMenuFragment.class)));
bar.addTab(bar.newTab()
.setText("Args")
.setTabListener(new TabListener<FragmentArgumentsFragment>(
this, "args", FragmentArgumentsFragment.class)));
bar.addTab(bar.newTab()
.setText("Stack")
.setTabListener(new TabListener<FragmentStackFragment>(
this, "stack", FragmentStackFragment.class)));
bar.addTab(bar.newTab()
.setText("Tabs")
.setTabListener(new TabListener<FragmentTabsFragment>(
this, "tabs", FragmentTabsFragment.class)));
if (savedInstanceState != null) {
bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0));
}
}
代码示例来源:origin: qiubiteme/android_api_demos
@Override
protected void onCreate(Bundle savedInstanceState) {
FragmentManager.enableDebugLogging(true);
super.onCreate(savedInstanceState);
final ActionBar bar = getActionBar();
bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
bar.setDisplayOptions(0, ActionBar.DISPLAY_SHOW_TITLE);
bar.addTab(bar.newTab()
.setText("Menus")
.setTabListener(new TabListener<>(
this, "menus", FragmentMenuFragment.class)));
bar.addTab(bar.newTab()
.setText("Args")
.setTabListener(new TabListener<>(
this, "args", FragmentArgumentsFragment.class)));
bar.addTab(bar.newTab()
.setText("Stack")
.setTabListener(new TabListener<>(
this, "stack", FragmentStackFragment.class)));
bar.addTab(bar.newTab()
.setText("Tabs")
.setTabListener(new TabListener<>(
this, "tabs", FragmentTabsFragment.class)));
if (savedInstanceState != null) {
bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0));
}
}
内容来源于网络,如有侵权,请联系作者删除!