package fr.iut_fbleau.apl41.couleurs;

import android.app.Activity;
import android.content.Intent;
import android.view.View;
import android.widget.AdapterView;
import android.widget.Toast;

/**
 * Created by hernand on 3/28/17.
 */
public class ControleAnnuler implements View.OnClickListener {
    private Activity parent;
    public ControleAnnuler(Activity a) {
        this.parent = a;
    }

    @Override
    public void onClick(View view) {
        Intent intent = new Intent(parent, Liste.class);
        parent.startActivity(intent);
        parent.finishAffinity();
    }

}
