[android-developers] null is the loneliest number
I'm looking at this function in Activity:
public Window getWindow ()
Since: API Level 1
Retrieve the current Window for the activity. This can be used to directly access parts of the Window API that are not available through Activity/Screen.
Returns
Window The current window, or null if the activity is not visual.
It says it returns "null if the activity is not visual".
In layman's terms, when does it return null? What constitutes a "not visual" activity?
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home