the code below will set the button to clickable after 30 sec:
btnOk.isClickable=false
Timer().schedule(timerTask { btnOk.isClickable=true }, 1000*30)
the above code runs in a separate thread,
so the UI is responsive while running this code.
the code below will set the button to clickable after 30 sec:
btnOk.isClickable=false
Timer().schedule(timerTask { btnOk.isClickable=true }, 1000*30)
the above code runs in a separate thread,
so the UI is responsive while running this code.
Scenario: I have an NVMe disk with an ext4 partition that was previously used as a directory in a Proxmox server. After reinstalling Proxm...