Code example for ProgressBar

Methods: getProgresssetProgress

0
	public void setMaxProgress(int max) {
		mProgress.setMax(max);
	} 
	 
	public void addProgress(int delta) {
		mProgress.setProgress(mProgress.getProgress() + delta);
	} 
	 
	public void setProgressIndeterminate(boolean indeterminate) {
		mProgress.setIndeterminate(indeterminate);
	} 
	 
	public void setOnShowGamesClickListener(OnClickListener listener) {
		mShowGames.setOnClickListener(listener);
	} 
 
	public void setSelectedGamesCount(int selected, int total) {
		mShowGames.setText(getContext().getResources().getString(R.string.games_selected, selected, total));
	}