Looks like it was just renamed in API 16 for consistency.

https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/java/android/view/ViewTreeObserver.java


   1. @Deprecated
   2. public void removeGlobalOnLayoutListener(OnGlobalLayoutListener victim
   ) {
   3. removeOnGlobalLayoutListener(victim);
   4. }
   5.


-- K


2014-05-23 1:33 GMT+04:00 Sheng-Dean <[email protected]>:

> The ViewTreeObserver class has 2 methods:
>
>  removeOnGlobalLayoutListener() & removeGlobalOnLayoutListener().
>
> I went on GrepCode and diff-ed every version and couldn't find any
> functionality difference other than the name change.
>
> Is there any functionality differences between these two methods?
> Thanks!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to