All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.robobinding.widget.adapterview.ItemLayoutUpdater Maven / Gradle / Ivy

There is a newer version: 0.8.14
Show newest version
package org.robobinding.widget.adapterview;

/**
 * 
 * @since 1.0
 * @version $Revision: 1.0 $
 * @author Robert Taylor
 */
public class ItemLayoutUpdater implements RowLayoutUpdater {
	private final RequiresItemLayoutId receiver;

	public ItemLayoutUpdater(RequiresItemLayoutId receiver) {
		this.receiver = receiver;
	}

	@Override
	public void updateRowLayout(int itemLayoutId) {
		receiver.setItemLayoutId(itemLayoutId);
	}
	
	public static interface RequiresItemLayoutId {
		void setItemLayoutId(int itemLayoutId);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy