Commit e450bb00 authored by Buwaneka 's avatar Buwaneka

add GlobleVariable.java

parent e3d73556
package com.example.count;
import android.app.Application;
import android.graphics.Bitmap;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class GlobleVariable extends Application{
public static ArrayList<Bitmap> bitmapArrayPicture= new ArrayList<Bitmap>();
public static List<Integer> listOriginal = Arrays.asList(1, 3, 5 ,4 ,2, 1, 3 ,1, 2 ,4 ,2 ,1, 3, 5,4 ,3, 5, 2, 1, 4, 4, 2, 5, 3, 1,
3, 1, 2, 5, 4, 1, 5, 4, 3, 2, 5, 4 ,1, 4, 4, 4, 2, 1, 5, 3, 5, 1, 4, 2, 3,
5, 1, 4, 3, 2, 4, 2, 5, 3, 3, 3, 2, 3 ,4, 4, 2, 1, 3, 5, 4, 1, 3, 5, 4, 2,
2, 4, 5, 1, 3, 3, 1, 4, 5, 2, 5, 2, 3, 4, 4, 5, 4, 5, 2, 3, 2, 4, 1, 5, 3,
4, 5, 3, 2, 1, 2, 4, 3, 1, 5, 1, 4, 2, 3, 5, 3, 2, 4, 1, 3, 5, 2, 2, 4, 1,
5, 1, 4, 3, 2, 3, 1, 4, 5, 1, 4, 2, 1, 5, 3, 4, 3, 5, 3, 1, 2, 1, 3, 1, 5,
4, 5, 3, 2, 1, 2, 4, 5, 2, 4, 2, 1, 5, 3, 4, 3, 5, 3, 1, 2, 1, 3, 1, 5, 2,
5, 1, 4, 3, 2, 3, 1, 4, 5, 2, 4, 2, 1, 5, 3, 4, 3, 5, 3, 1, 2, 1, 3, 1, 5,
4, 5, 3, 2, 1, 2, 4, 5, 1, 3, 5, 1, 4, 3, 2, 5, 1, 2, 5, 4, 1, 3, 5, 4, 2,
2, 4, 3, 1, 5, 3, 1, 4, 5, 2, 4, 2, 5, 1, 3, 1, 5, 4, 3, 2, 5, 3, 1, 2, 4,
1, 4, 2, 5, 3, 5, 2, 3, 4, 1, 3, 5, 2, 1, 5, 2, 5, 1, 3, 4, 2, 1, 3, 5, 4,
4, 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3, 2, 4, 1, 3, 5, 4, 2,
2, 4, 5, 1, 3, 3, 1, 4, 5, 2, 5, 2, 3, 4, 1, 1, 4, 5, 2, 3, 2, 4, 1 ,5, 3);
public static int RightGloble;
public static int WrongGloble;
public static String StudentID;
public static String nameurl;
public static boolean done;
public static boolean wait=false;
public static ArrayList<Integer> resultList= new ArrayList<Integer>();
public static ArrayList<Bitmap> bitmapNo= new ArrayList<Bitmap>();
private static GlobleVariable singleton;
public static GlobleVariable getInstance() {
return singleton;
}
@Override
public void onCreate() {
super.onCreate();
singleton = this;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment