AndroidObservableForWidgets.

GetNotificationForProperty(object, Expression, string, bool, bool) Method

Summary

Subscribe to notifications on the specified property, given an object and a property name.
Namespace
ReactiveUI
Containing Type
AndroidObservableForWidgets

Syntax

public IObservable<IObservedChange<object, object>> GetNotificationForProperty(object sender, Expression expression, string propertyName, bool beforeChanged = false, bool suppressWarnings = false)

Parameters

Name Type Description
sender object The object to observe.
expression Expression The expression on the object to observe. This will be either a MemberExpression or an IndexExpression dependending on the property.
propertyName string The property of the type to query for.
beforeChanged bool If true, signal just before the property value actually changes. If false, signal after the property changes.
suppressWarnings bool If true, no warnings should be logged.

Return Value

Type Description
IObservable<IObservedChange<object, object>> An IObservable which is signalled whenever the specified property on the object changes. If this cannot be done for a specified value of beforeChanged, return Observable.Never.