Android Fragment使用

一、正確的傳遞參數方式android public class DemoFragment extends Fragment{ide     private int type = 0; 佈局     public static DemoFragment newInstance(int type){         DemoFragment fragment = new DemoFragment();
相關文章
相關標籤/搜索