Add transition to loadAspect instead of callers

Issue #125 new
Matthias Schoettle created an issue

Currently, RamApp.loadAspect(...) changes the scene to the given aspect. Callers of this method manually execute the following code beforehand:

scene.setTransition(new SlideTransition(RamApp.getApplication(), 700, true));

However, in some cases this doesn't happen (e.g., double-tapping on an instantiations aspect name).

I suggest putting that one line into loadAspect(...) and removing it from all callers.

However, there seem to be different transitions (either left or right), so maybe it should be done differently.

Comments (2)

  1. Log in to comment