Matti MK
06/13/2022, 12:42 PM<http://android.app|android.app>
with Compose. My question is: should there be some specific considerations to use it because it’s not a compose component?
Currently, I’m doing something like so:
val context = LocalContext.current
Button(onClick = {
TimePickerDialog(
context,
R.style.themeOnverlay_timePicker,
{ _, selectedHour: Int, selectedMinute: Int ->
// some action
}, 11, 11, true
).show()
}) {
Text("Click to open picker")
}