This article shows you how to use TimePickerDialog to pick the time. All of this using Kotlin as the programming language.
Very easy, just see the video to know exactly where to put the below source code into your project
Please feel free to comment if you have newer techniques as well as ask questions. And, yeah! If this post helps you please do share!