On Fri, Jan 20, 2012 at 11:04 AM, Nick Parker <[email protected]> wrote:
> I was initially just calling getActivity() from the ListFragment, however
> that was returning null.

Then you were doing the work in too early of a lifecycle method, most
likely. Try sliding to a slightly later one (e.g.,
onActivityCreated()).

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 4.0 Programming Books: http://commonsware.com/books

-- 
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

Reply via email to