Code example for TimeUnit

Methods: toMinutestoSeconds

0
		return item;
	} 
	 
	@SuppressLint("NewApi") 
	private String convertTime(int time) {
		return String.format("%02d:%02d", TimeUnit.MILLISECONDS.toMinutes(time), TimeUnit.MILLISECONDS.toSeconds(time) - TimeUnit.MINUTES.toSeconds(TimeUnit.MILLISECONDS.toMinutes(time)));
	} 
 
	class ViewHolder { 
		TextView themeTextView;
		TextView scoreTextView;
		TextView timeTextView;
		TextView emailTextView;
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE