Mehmet Cifci
Mehmet Cifci
I'm having the same problem, is there a more detailed explanation for lambda
Thank you anderbytes, There is no problem in the codes you write to get results. I'm having a problem with Java, not Kotlin, for example when creating an intent. "...
No, I haven't tried, but I prefer to use ImagePciker in activity instead of fragment, I couldn't succeed in fragment.
Yes I'm just doing it on Java
I couldn't find any solution
Thank you alankko :) I tested it and it works fine
Briandosha THİS İS THE JAVA CODE for getting data on fragment https://developer.android.com/training/basics/intents/result#java ActivityResultLauncher mStartForResult = registerForActivityResult(new ActivityResultContracts.StartActivityForResult(), result -> { if (result.getResultCode() == Activity.RESULT_OK) { Intent intent = result.getData(); if...
Hi titosobabas, solution is this; ImagePicker.Builder with = ImagePicker.with(this); with.crop(); with.compress(1024); with.maxResultSize(1080, 1080); with.createIntent(new Function1() { @Override public Unit invoke(Intent Intent) { startForProfileImageResult.launch(Intent ); return null; } }); ActivityResultLauncher mStartForResult...
> Thanks @mehmet-cpu > > I have a little question. Where do i should tu put the last slice of code you wrote me? I'm asking because i was trying...
@monfreign hi bro, I don't quite understand why you are getting such an error. If you are preparing a project with java, you can get uri results by accessing the...