Bruno_
11/05/2019, 7:15 PMstartActivityForResult
? technically I could make everything that I need global, but it would cause spaghetti codebezrukov
11/05/2019, 7:17 PMBruno_
11/05/2019, 7:22 PMval context = +ambient(ContextAmbient)
context.startActivity(Intent(context, CustomActivityClass::class.java))
CustomActivityClass
has implemented onActivityResult
which listens for a fileMichal Bacik
11/05/2019, 8:19 PMcontext.contentResolver.openInputStream(uri)?.use { it.readBytes() }
Why would you start new activity for that?Bruno_
11/05/2019, 8:22 PMload a file
)Michal Bacik
11/05/2019, 8:25 PMBruno_
11/05/2019, 8:36 PMdavid.bilik
11/05/2019, 8:48 PMBruno_
11/05/2019, 9:09 PMTopAppBar
), turned out there is not even tho one would helpRyan Mentley
11/05/2019, 9:36 PM