package com.andela.iworkout.utilities;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import com.andela.iworkout.activities.MainActivity;
import com.andela.iworkout.activities.WorkoutActivity;

public class Launcher {
    public static final String TRANSPORT = "transport";

    public static void launch(Context context, Class<?> activity) {
        Intent intent = new Intent(context, activity);
        context.startActivity(intent);
    }

    public static void launchActivity(Context context, Bundle bundle, Class<?> activity) {
        Intent intent = new Intent(context, activity);
        intent.putExtra(TRANSPORT, bundle);
        context.startActivity(intent);
    }

    public static void launchForResult(Activity activity, Class<?> activityClass, int CODE) {
        Intent intent = new Intent(activity, activityClass);
        activity.startActivityForResult(intent, CODE);
    }
}

@@ -156,116 +156,8 @@
 e;%0A%0A
-import com.andela.iworkout.activities.MainActivity;%0Aimport com.andela.iworkout.activities.WorkoutActivity;%0A%0A
 publ

Remove redundant import