kotlin coroutine invoke completion
snippet in kotlin

kotlin coroutine invoke completion

user443

fun getData(){
	uiScope.launch{
    	dataRepository.getData()
    }.invokeOnCompletion{
    	Log.d("Tag","Called after completion")
    }
}