app/src/main/java/com/example/flagfind/MainActivity.java
public void createIntent(Class<?> createActivityClass) {
        Intent intent = new Intent(this, createActivityClass);
        intent.putExtra("Counties", retMap);
        intent.putExtra("Timer", btn_timer.isChecked());
        startActivity(intent);
    }
//    Navigating to Activity by creating an intent.
Navigating to Activity by creating an intent.
Navigating to Activity by creating an intent .
public void createIntent(Class<?> createActivityClass) {
        Intent intent = new Intent(this, createActivityClass);
        intent.putExtra("Counties", retMap);
        intent.putExtra("Timer", btn_timer.isChecked());
        startActivity(intent);
    }
public void createIntent ( Class < ? > createActivityClass ) { Intent intent = new Intent ( this , createActivityClass ) ; intent . putExtra ( "Counties" , retMap ) ; intent . putExtra ( "Timer" , btn_timer . isChecked ( ) ) ; startActivity ( intent ) ; }
Navigating to Activity by creating an intent.
Navigating to Activity by creating an intent .