org.robobinding.widget.adapterview.ItemLayoutUpdater Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of robobinding Show documentation
Show all versions of robobinding Show documentation
A Presentation Model(MVVM) framework for the Android platform
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