.NET11 RC2 AndroidTypeMapImplementation trimmable doesn't generate java callable wrappers for classes marked with Register attribute
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 46/100
Línea de trabajo
Start by reading the .NET for Android changes to the trimmable type map implementation and how it handles classes marked with Register and methods marked with Export. Reproduce the issue using the provided FeaturesLib example and inspect the build output for Java callable wrappers. Done means the wrappers are generated for registered classes when AndroidTypeMapImplementation is set to trimmable.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
We have been using Register attribute on Java.Lang.Object derived classes and Export attribute on its methods to generate Java callable wrappers for Android. E.g.
[Register("AndroidFeatures.FeaturesLib")]
public class FeaturesLib : Java.Lang.Object
{
private MutableLiveData _data = new MutableLiveData(new Intent());
[Export("Initialize")]
public void Initialize(MutableLiveData data)
{
_data = data;
}
[Export("GetFeatureStr")]
public string GetFeatureStr(string jString)
{
return jString;
}
[Export("GetDigitalValue")]
public int GetDigitalValue()
{
return -999;
}
}
I tried to use .NET11's new trimmable typemap using trimmable. The resulting build output doesn't contain the Java callable wrappers for the classes.
Can this be addressed?
@jonathanpeppers
- Lenguaje dominante
- C#
- Estrellas
- 2.1k
- Forks
- 581
- Merge medio
- 1 d 17 h
- PR fusionados (30 d)
- 237
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de dotnet/android
-
Area: App+Library Build
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
EditText.getText() isn't boundAbiertoArea: Mono.Android
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
dotnet/android#9192 · 4 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
agentic-workflows needs-triage
Dificultad 3/5 1-2 días Aptitud para principiantes 38/100
Los mantenedores suelen responder en 1 día
-
Area: App+Library Build needs-triage
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
Los mantenedores suelen responder en 1 día
Todos los issues de dotnet/android
Issues similares
-
bug priority: P2
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día
-
WebullFeeModel charges SPXW options the SPX exchange feePosiblemente ocupada @Amadeus-22 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
QuantConnect/Lean#9922 ·
Los mantenedores suelen responder en 1 día
-
[Docs] README/PRIVACY still name AppCenter although v1.5.6.0+ uses the Microsoft Store Services SDKAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Azure/azure-sdk-tools#17317 ·
Los mantenedores suelen responder en 1 día