Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@russelarms
Created May 28, 2017 13:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save russelarms/d75edc11ca3c4abadc73780fe43e1767 to your computer and use it in GitHub Desktop.
Save russelarms/d75edc11ca3c4abadc73780fe43e1767 to your computer and use it in GitHub Desktop.
public class AnimatorScene extends RelativeLayout {
private Scene scene;
...
private void init() {
inflate(getContext(), R.layout.scene_layout, this);
ButterKnife.bind(this);
screenDimensions = ScreenUtils.getScreenDimensions(getContext());
scene = Scene.create(getRootView(), () -> {
prepare();
initSteps();
});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment