app/src/main/java/ch/epfl/sweng/radius/profile/ProfileFragment.java
ProfileFragment
has 26 methods (exceeds 20 allowed). Consider refactoring. Confirmed
Confirmed
public class ProfileFragment extends Fragment implements DBUserObserver {
private final int MAX_SIZE_USERNAME = 20;
private final int MAX_SIZE_STATUS = 50;
private final int MAX_SIZE_INTERESTS = 100;
private static int userRadius;
File ProfileFragment.java
has 262 lines of code (exceeds 250 allowed). Consider refactoring. Confirmed
Confirmed
package ch.epfl.sweng.radius.profile;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
Method onCreateView
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
View view = inflater.inflate(R.layout.fragment_profile, container, false);