so i got the solution
KeyEvent.KEYCODE_DPAD_UP -> {
if (selectedRow > 0) {
selectedRow--
isUpFromList = false
} else {
scope.launch{
isFocusOnListing = false
isUpFromList = true
delay(50)
setFocusContinueWatch.freeFocus()
setFocusOnWatchNow.requestFocus()
}
}
i just did the whole operation in a coroutine scope and added a 50milli delay