第一种方法对我有用…直到我想使用FindViewByID。
我想您可能不了解
findViewById()所返回的View
inflate(),请尝试以下操作:
View view = i.inflate(Resource.Layout.frag_SelectCase, null);// Now use view.findViewById() to do what you wantb.setView(view);return b.create();

第一种方法对我有用…直到我想使用FindViewByID。
我想您可能不了解
findViewById()所返回的View
inflate(),请尝试以下操作:
View view = i.inflate(Resource.Layout.frag_SelectCase, null);// Now use view.findViewById() to do what you wantb.setView(view);return b.create();