Code example for CyclicBarrier

0
	private final static String TAG = "MyActivity";
	private final String URL = "http://wecuf.zoka.cc/Quiz.php?name=ALL";
	String mTopicSelected = "";
	private static volatile int mScore = 0; 
	private static volatile boolean mQuestionAnswered = false;
	private static CyclicBarrier mBarrier = new CyclicBarrier(1);
	 
	RadioGroup mRadioGroup;
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.quiz); 
		downloadQuizFile(); 
		initializeQuiz(); 
		displayTopics(); 
	} 
	 
	private void displayTopics() { 
		Set<String> topicsSet = mQuizMap.keySet();
		Iterator<String> iter = topicsSet.iterator();
		mRadioGroup = (RadioGroup)findViewById(R.id.RadioGroup_Topics);
		//mRadioGroup.remove