You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@moljac@jpobst this problem still exists, but with ActivityResultContracts.GetContent (and like even more, which I didn't test)
public class MyGetContent : AndroidX.Activity.Result.Contract.ActivityResultContracts.GetContent
{
public override Intent CreateIntent(Context context, Java.Lang.Object input)
{
return base.CreateIntent(context, input);
}
}
name clash: createIntent(Context,Object) in MyGetContent and createIntent(Context,String) in ActivityResultContract have the same erasure, yet neither overrides the other public android.content.Intent createIntent (android.content.Context p0, java.lang.Object p1)
Should I open a new issue for it?
Also, is it possible to use the correct types for the Contract classes? E.g. GetContent should take a string when using ActivityResultLauncher.launch() and return a Uri in the OnActivityResult callback. I guess using generics isn't as easy in bindings...
Version Information
Describe your Issue:
Hi, in March I reported this error (#504), supposedly I have updated the libraries to the latest version and the error still exists.
The text was updated successfully, but these errors were encountered: