Skip to content

Instantly share code, notes, and snippets.

@Kvest
Created October 24, 2016 18:33
Show Gist options
  • Save Kvest/3cdd8570c88347d0cf55f7e8dd40e1b6 to your computer and use it in GitHub Desktop.
Save Kvest/3cdd8570c88347d0cf55f7e8dd40e1b6 to your computer and use it in GitHub Desktop.
public class RingViewTransition extends Transition {
....
public static void addExtraProperties(RingView view, Bundle extra) {
extra.putInt(PROPNAME_COLOR, view.getColor());
extra.putFloat(PROPNAME_INNER_RADIUS, view.getInnerCircleRadius());
extra.putFloat(PROPNAME_OUTER_RADIUS, view.getOuterCircleRadius());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment