Search in sources :

Example 1 with GroupedViewAttributeBinderFactory

use of org.robobinding.viewattribute.grouped.GroupedViewAttributeBinderFactory in project RoboBinding by RoboBinding.

the class MockInitializedBindingAttributeMappingsBuilder method withAttributeGroup.

public MockInitializedBindingAttributeMappingsBuilder withAttributeGroup(String[] attributeGroup, final GroupedViewAttributeBinder viewAttributeBinder) {
    attributeGroups.add(attributeGroup);
    groupedViewAttributeBinderFactoryMap.put(attributeGroup, new GroupedViewAttributeBinderFactory(null, null, null) {

        @Override
        public GroupedViewAttributeBinder create(Object view, Map<String, String> presentAttributeMappings) {
            return viewAttributeBinder;
        }
    });
    return this;
}
Also used : GroupedViewAttributeBinder(org.robobinding.viewattribute.grouped.GroupedViewAttributeBinder) GroupedViewAttributeBinderFactory(org.robobinding.viewattribute.grouped.GroupedViewAttributeBinderFactory)

Aggregations

GroupedViewAttributeBinder (org.robobinding.viewattribute.grouped.GroupedViewAttributeBinder)1 GroupedViewAttributeBinderFactory (org.robobinding.viewattribute.grouped.GroupedViewAttributeBinderFactory)1