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 w ww . ja v a 2s .c om*/ import android.app.Application; 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.welcome_scene) public class WelcomeScene extends IndexedScene { private final PageRigger rigger; private final CrossfadeTransformer transformer; public WelcomeScene(Application application) { super(WelcomeScene.class.getName()); this.rigger = new PageRigger(); this.transformer = new CrossfadeTransformer(application); } public WelcomeScene() { this(SampleApplication.getInstance()); } @Override public Rigger getRigger() { return rigger; } @Override public Transformer getTransformer() { return transformer; } }