public ViewDataBinding getDataBinder(DataBindingComponent bindingComponent, View view, int layoutId) { DataBinderMappable subMapper = getSubMapper(layoutId); if (subMapper == null) { return null; } layoutId = subMapper.getLayoutId((String) view.getTag()); if (layoutId == 0) { bindingPackageName = null; throw new IllegalArgumentException("View is not a binding layout"); } return subMapper.getDataBinder(bindingComponent, view, layoutId); }
public ViewDataBinding getDataBinder(DataBindingComponent bindingComponent, View[] views, int layoutId) { DataBinderMappable subMapper = getSubMapper(layoutId); if (subMapper == null) { return null; } layoutId = subMapper.getLayoutId((String) views[0].getTag()); if (layoutId == 0) { bindingPackageName = null; throw new IllegalArgumentException("View is not a binding layout"); } return subMapper.getDataBinder(bindingComponent, views, layoutId); }
public ChatMessageAdapter(DataBindingComponent dataBindingComponent, ChatMessageClickCallback clickCallback) { this.dataBindingComponent = dataBindingComponent; this.clickCallback = clickCallback; }
public ConversationAdapter(DataBindingComponent dataBindingComponent, ConversationClickCallback clickCallback) { this.dataBindingComponent = dataBindingComponent; this.clickCallback = clickCallback; }
public ContributorAdapter(DataBindingComponent dataBindingComponent, ContributorClickCallback callback) { this.dataBindingComponent = dataBindingComponent; this.callback = callback; }
public RepoListAdapter(DataBindingComponent dataBindingComponent, boolean showFullName, RepoClickCallback repoClickCallback) { this.dataBindingComponent = dataBindingComponent; this.repoClickCallback = repoClickCallback; this.showFullName = showFullName; }
private DataBindingComponent buildDataBindingComponent() { return DaggerAppDataBindingComponent.builder().application(this).build(); }
@NonNull public static DataBindingComponent glideBindingComponent( @NonNull final RequestManager requestManager) { return new GlideBindingComponent(requestManager); }