public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
return inflater.inflate(R.layout.fragment_main, container, false);
}
@Override
public void onViewCreated(View view, Bundle savedInstanceState) {
<BUG>super.onViewCreated(view, savedInstanceState);
check1 = (CheckedTextView)view.findViewById(R.id.check1);</BUG>
check2 = (CheckedTextView)view.findViewById(R.id.check2);
check1.setText(MainPresenter.NAME_1);
check2.setText(MainPresenter.NAME_2);

public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
return inflater.inflate(R.layout.fragment_main, container, false);
}
@Override
public void onViewCreated(View view, Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
Log.v(getClass().getSimpleName(), "onViewCreated");
check1 = (CheckedTextView)view.findViewById(R.id.check1);
check2 = (CheckedTextView)view.findViewById(R.id.check2);
check1.setText(MainPresenter.NAME_1);
check2.setText(MainPresenter.NAME_2);
