Code example for Fragment

Methods: onStart

0
		} 
	}; 
 
	@Override 
	public void onStart() { 
		super.onStart(); 
		if (!thread.isAlive())
			thread.start();
	} 
 
	@Override 
	public void onResume() { 
		super.onResume(); 
		paused = false;
		synchronized (thread) {
			thread.notify();
		} 
	} 
 
	@Override 
	public void onPause() {