public class Fragmentone<Interface1> extends Fragment{
public Interface1 Interface;
@Override
public View onCreateView(LayoutInflater inflater,
ViewGroup container, Bundle savedInstanceState) {
Interface = new Interface1 (this);
return inflater.inflate(
R.layout.fragment_two, container, false);
}
}
显示错误
无法实例化Interface1
类型