I got this inside a method
View android = inflater.inflate(R.layout.asd_frag, container, false);
((TextView) android.findViewById(R.id.textViewAsd01)).setText("asd");
return android;
View android02 = inflater.inflate(R.layout.asd02_frag, container, false);
((TextView) android.findViewById(R.id.textViewAsd02)).setText("asd02");
return android02;
So the problem is that you cannot return 2 return statements inside a method, does someone know a trick to make this happen.