Skip to content

Instantly share code, notes, and snippets.

View reustonium's full-sized avatar

Andy Ruestow reustonium

View GitHub Profile
public void elementClicked(int position){
if (view != null){
final int word = view.getWordByPosition(int position)
view.doAnimationStuff();
view.launchActivityWithWord(word);
}
}
//because there are no android dependencies here, it becomes easy to implement Mockito style behavioral testing.
@lopspower
lopspower / README.md
Last active June 19, 2024 07:20
Material Animations

Material Animations

Android Arsenal

[Android Transition Framework][transition-framework] can be used for three main things:

  1. Animate activity layout content when transitioning from one activity to another.
  2. Animate shared elements (Hero views) in transitions between activities.
  3. Animate view changes within same activity.