Package 

Class BaseAction

  • All Implemented Interfaces:
    com.otaliastudios.cameraview.engine.action.Action

    @RequiresApi(value = Build.VERSION_CODES.LOLLIPOP) 
    public abstract class BaseAction
     implements Action
                        

    The base implementation of Action that should always be subclassed, instead of implementing the root interface itself. It holds a list of callbacks and dispatches events to them, plus it cares about its own lifecycle: - when start is called, we add ourselves to the holder list - when STATE_COMPLETED is reached, we remove ouverselves from the holder list This is very important in all cases.