0
我得到的已经从SherlockActivity 延长现在我想用一个DialogFragment与支持库如何使用
FragmentManager fm = getSupportFragmentManager();
HelpDialogFragment testDialog = new HelpDialogFragment();
testDialog.setRetainInstance(true);
testDialog.show(fm, "fragment_name");
但getSupportFragmentManager()的活动未扩展功能;如果我没有从FlockmentActivity延伸,我不能使用SherlockActivity,就不能使用它。
任何人都可以给我一些方向?
OFC您DialogFragments,非常感谢! –