Added method-comment to AndroidUtilities.callOverridePendingTransition

pull/14/head
Arne Jans 13 years ago
parent 58181c2769
commit 84ade762cc

@ -500,6 +500,14 @@ public class AndroidUtilities {
}
}
/**
* If you want to set a transition, please use this method rather than <code>callApiMethod</code> to ensure
* you really pass an Activity-instance.
*
* @param activity the activity-instance for which to set the finish-transition
* @param enterAnim the incoming-transition of the next activity
* @param exitAnim the outgoing-transition of this activity
*/
public static void callOverridePendingTransition(Activity activity, int enterAnim, int exitAnim) {
callApiMethod(5,
activity,

Loading…
Cancel
Save