package Ġdigital . k lik . helper . dialog . extension Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġdigital . k lik . helper . common . Date Helper Ċ import Ġdigital . k lik . helper . dialog . Time Picker Dialog Helper Ċ import Ġdigital . k lik . helper . dialog . listener . On Time Selected Listener Ċ import Ġdigital . k lik . helper . common . model . Time Ċ Ċ fun ĠContext . show Time Picker Dialog ( ĊĠĠĠ Ġdefault Selection : ĠTime Ġ= ĠDate Helper . currentTime (), ĊĠĠĠ Ġuse 2 4 Hour View : ĠBoolean Ġ= Ġfalse , ĊĠĠĠ Ġon Time Selected Listener : ĠOn Time Selected Listener ? Ċ ) Ġ= ĠTime Picker Dialog Helper . show Time Picker Dialog ( this , Ġdefault Selection , Ġuse 2 4 Hour View , Ġon Time Selected Listener ) Ċ Ċ fun ĠContext . show Time Picker Dialog ( ĊĠĠĠ Ġdefault Selection : ĠTime Ġ= ĠDate Helper . currentTime (), ĊĠĠĠ Ġuse 2 4 Hour View : ĠBoolean Ġ= Ġfalse , ĊĠĠĠ Ġon Time Selected Listener : Ġ( selected Time : ĠTime ) Ġ-> ĠUnit Ċ ) Ġ= ĠTime Picker Dialog Helper . show Time Picker Dialog ( this , Ġdefault Selection , Ġuse 2 4 Hour View , Ġon Time Selected Listener ) ĊĊ Ċ fun ĠFragment . show Time Picker Dialog ( ĊĠĠĠ Ġdefault Selection : ĠTime Ġ= ĠDate Helper . currentTime (), ĊĠĠĠ Ġuse 2 4 Hour View : ĠBoolean Ġ= Ġfalse , ĊĠĠĠ Ġon Time Selected Listener : ĠOn Time Selected Listener ? Ċ ) Ġ= ĠTime Picker Dialog Helper . show Time Picker Dialog ( require Context (), Ġdefault Selection , Ġuse 2 4 Hour View , Ġon Time Selected Listener ) Ċ Ċ fun ĠFragment . show Time Picker Dialog ( ĊĠĠĠ Ġdefault Selection : ĠTime Ġ= ĠDate Helper . currentTime (), ĊĠĠĠ Ġuse 2 4 Hour View : ĠBoolean Ġ= Ġfalse , ĊĠĠĠ Ġon Time Selected Listener : Ġ( selected Time : ĠTime ) Ġ-> ĠUnit Ċ ) Ġ= ĠTime Picker Dialog Helper . show Time Picker Dialog ( require Context (), Ġdefault Selection , Ġuse 2 4 Hour View , Ġon Time Selected Listener ) Ċ