Monday, March 19, 2012

Re: [android-developers] ListFragment fails on setContentView

If you have a seperate layout.xml for your listfragment, then maybe you are missing @android:id/list as id for your listview?

On Mon, Mar 19, 2012 at 11:12 AM, Mark Murphy <mmurphy@commonsware.com> wrote:
On Sun, Mar 18, 2012 at 9:25 PM, Jim Andresakis <jimandresakis@gmail.com> wrote:
> Hey thanks for jumping in Mark. So no matter what subclass of fragment Im
> using I always call it from xml using just <fragment> ?

Yes, with a class attribute identifying the implementation.
_The Busy Coder's Guide to *Advanced* Android Development_ Version 2.5
Available!

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

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

No comments:

Post a Comment