Back to project page screenplay.
The source code is released under:
MIT License
If you think the Android project screenplay listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.davidstemmer.screenplay.sample.simple.scene; /*from ww w . j a v a2 s . com*/ import com.davidstemmer.screenplay.sample.simple.SampleApplication; import com.davidstemmer.screenplay.sample.simple.scene.transformer.CrossfadeTransformer; import com.davidstemmer.screenplay.scene.rigger.PageRigger; import com.example.weefbellington.screenplay.sample.simple.R; import flow.Layout; /** * Created by weefbellington on 10/2/14. */ @Layout(R.layout.stacked_scene) public class StackedScene extends IndexedScene { private final PageRigger rigger; private final CrossfadeTransformer transformer; public StackedScene() { super(StackedScene.class.getName()); this.rigger = new PageRigger(); this.transformer = new CrossfadeTransformer(SampleApplication.getInstance()); } @Override public Rigger getRigger() { return rigger; } @Override public Transformer getTransformer() { return transformer; } }