FlipTimerView
FlipTimerView copied to clipboard
How to use only parts of the ui
I just want to use the hour and min part or hour min and secs without the day. How do I do that??
You can use this for now
timerProgramCountdown.findViewById<CountDownDigit>(R.id.firstDigitDays).visibility = GONE
timerProgramCountdown.findViewById<CountDownDigit>(R.id.secondDigitDays).visibility = GONE
timerProgramCountdown.findViewById<CountDownDigit>(R.id.firstDigitHours).visibility = GONE
timerProgramCountdown.findViewById<CountDownDigit>(R.id.secondDigitHours).visibility = GONE
(timerProgramCountdown.children.firstOrNull() as? LinearLayout)?.children?.firstOrNull()?.also {
((it as? RelativeLayout)?.children?.toList()?.getOrNull(2) as? TextView)?.visibility = GONE
}