use of org.robobinding.viewattribute.event.EventViewAttributeBinderFactory in project RoboBinding by RoboBinding.
the class MockInitializedBindingAttributeMappingsBuilder method withEventAttribute.
public MockInitializedBindingAttributeMappingsBuilder withEventAttribute(String attribute, final EventViewAttributeBinder viewAttributeBinder) {
eventAttributes.add(attribute);
eventViewAttributeBinderFactoryMap.put(attribute, new EventViewAttributeBinderFactory(null, null) {
@Override
public EventViewAttributeBinder create(Object view, String attributeName, String attributeValue) {
return viewAttributeBinder;
}
});
return this;
}
Aggregations