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

com.arellomobile.mvp.viewstate.strategy.SkipStrategy Maven / Gradle / Ivy

The newest version!
package com.arellomobile.mvp.viewstate.strategy;

import java.util.List;

import com.arellomobile.mvp.MvpView;
import com.arellomobile.mvp.viewstate.ViewCommand;

/**
 * Command will not be put in commands queue
 *
 * Date: 21-Dec-15
 * Time: 17:43
 *
 * @author Alexander Blinov
 */
public class SkipStrategy implements StateStrategy {
	@Override
	public  void beforeApply(List> currentState, ViewCommand incomingCommand) {
		//do nothing to skip
	}

	@Override
	public  void afterApply(List> currentState, ViewCommand incomingCommand) {
		// pass
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy