app/src/main/java/com/github/wnder/guessLocation/GuessLocationActivity.java
File GuessLocationActivity.java
has 455 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
package com.github.wnder.guessLocation;
import android.Manifest;
import android.animation.ValueAnimator;
import android.annotation.SuppressLint;
GuessLocationActivity
has 29 methods (exceeds 20 allowed). Consider refactoring. Open
Open
@AndroidEntryPoint
public class GuessLocationActivity extends AppCompatActivity implements OnMapReadyCallback, MapboxMap.OnMapClickListener, MapboxMap.OnCameraMoveListener {
//Define all necessary and recurrent strings
public static final String EXTRA_GUESS_MODE = "guess_mode";
Method onCreate
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//Initialisation of class variables (MapBox creation)