This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MainActivity<F extends Fragment & ViewWithSharedElements> extends AppCompatActivity | |
{ | |
private static final long TRANSITION_DEFAULT_TIME = 1000; | |
@BindView(R.id.coordinator_layout) CoordinatorLayout mCoordinatorLayout; | |
private FragmentManager mFragmentManager; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) | |
{ | |
TransitionManager.beginDelayedTransition(mCoordinatorLayout); | |
} | |
else | |
{ | |
// Transition Magic for APIs 19+ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) | |
{ | |
TransitionManager.beginDelayedTransition(mCoordinatorLayout); | |
} | |
else | |
{ | |
// Transition Magic for APIs 19+ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) | |
{ | |
TransitionManager.beginDelayedTransition(mCoordinatorLayout); | |
} | |
else | |
{ | |
// Transition Magic for APIs 19+ | |
} |
NewerOlder