Skip to content

ReactiveUI binding crash Xamarin.Android #1129

@RLittlesII

Description

@RLittlesII

Bug

Despite our best efforts, bugs can slip into releases or corner cases forgotten about. We will try our best to remedy the situation
and/or provide workarounds. Note that certain (odd) behaviors are by design and as such are not considered bugs.

Which library version?

Was reported against 4.1.6, still present in 4.3.2

What are the platform(s), environment(s) and related component version(s)?

Xamarin.Android

What is the use case or problem?

In ReacitveUI we use Reflection and Tuples to provide Two Way Binding to UI elements. It seems that the reflection spits a specific error now when it tries to bind on Xamarin.Android. The issue was reported after we migrated to Value Tuples.

This is related to reactiveui/ReactiveUI#2170

What is the expected outcome?

That the bindings are found and Android handles the Two Way binding.

What is the actual outcome?

The following error is produced. The Android App crashes.

What is the stacktrace of the exception(s) if any?

https://gist.github.com/RLittlesII/13c15d8047ae906aee0ad585c097f0f2

Do you have a code snippet or project that reproduces the problem?

reactiveui.2170.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions