首页 > 代码库 > DialogFragment

DialogFragment

DialogFragment  

    static Fragment1 newInstance(String title) {         Fragment1 fragment = new Fragment1();         Bundle args = new Bundle();         args.putString("title", title);         fragment.setArguments(args);         return fragment;    }