![JAR search and dependency download from the Maven repository](/logo.png)
com.arellomobile.mvp.viewstate.ViewCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of moxy Show documentation
Show all versions of moxy Show documentation
MoxyX, we added X for make this library coolest
The newest version!
package com.arellomobile.mvp.viewstate;
import com.arellomobile.mvp.MvpView;
import com.arellomobile.mvp.viewstate.strategy.StateStrategy;
/**
* Date: 16-Dec-15
* Time: 16:59
*
* @author Alexander Blinov
*/
public abstract class ViewCommand {
private final String mTag;
private final Class extends StateStrategy> mStateStrategyType;
protected ViewCommand(String tag, Class extends StateStrategy> stateStrategyType) {
mTag = tag;
mStateStrategyType = stateStrategyType;
}
public abstract void apply(View view);
public String getTag() {
return mTag;
}
public Class extends StateStrategy> getStrategyType() {
return mStateStrategyType;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy