Class Binding

  • All Implemented Interfaces:
    android.databinding.tool.processing.scopes.LocationScopeProvider, android.databinding.tool.processing.scopes.ScopeProvider
    Direct Known Subclasses:
    MergedBinding

    public class Binding
    extends java.lang.Object
    implements android.databinding.tool.processing.scopes.LocationScopeProvider
    • Method Detail

      • provideScopeLocation

        public java.util.List<android.databinding.tool.store.Location> provideScopeLocation()
        Specified by:
        provideScopeLocation in interface android.databinding.tool.processing.scopes.LocationScopeProvider
      • resolveListeners

        public void resolveListeners()
      • resolveCallbackParams

        public void resolveCallbackParams()
      • resolveTwoWayExpressions

        public void resolveTwoWayExpressions()
      • toJavaCode

        public java.lang.String toJavaCode​(java.lang.String targetViewName,
                                           java.lang.String bindingComponent)
      • getBindingAdapterInstanceClass

        public java.lang.String getBindingAdapterInstanceClass()
      • getComponentExpressions

        public Expr[] getComponentExpressions()
      • requiresOldValue

        public boolean requiresOldValue()
      • getMinApi

        public int getMinApi()
        The min api level in which this binding should be executed.

        This should be the minimum value among the dependencies of this binding. For now, we only check the setter.

      • getName

        public java.lang.String getName()
      • getExpr

        public final Expr getExpr()
      • injectSafeUnboxing

        public void injectSafeUnboxing​(ExprModel exprModel)
      • unwrapObservableFieldExpression

        public void unwrapObservableFieldExpression()