1
Size: a a a
1
ИМ
EA
ИМ
EA
ИМ
ИМ
EA
BS
ИМ
private val uiScope = CoroutineScope(Dispatchers.Main + Job())
override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
): View {
binding = FragmentFirstScreenBinding.inflate(inflater)
uiScope.launch {
withContext(Dispatchers.IO){
text = read()
withContext(Dispatchers.Main){
binding.name.text = text[0]
}
}
}
return binding.root
}
BS
ИМ
МД
R
R
МA
EA
РП
EA