wow. creating the View in the OnCreateView() before using it - how smart is that?
works great Mark, thanks! Nick On Jan 17, 12:42 pm, Mark Murphy <mmur...@commonsware.com> wrote: > On Tue, Jan 17, 2012 at 12:31 PM, Spiral123 <cumis...@gmail.com> wrote: > > You can easily see the behavior with native fragments if you add the > > TouchListView library to the APIDemos project and just add a couple of > > lines to the FragmentListArray.java class: > > I realize now that I misread your original question. If you want a > ListFragment to use a TouchListView, you need to override > onCreateView() and return a TouchListView, or a layout that contains > TouchListView with @android:id/list. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > _The Busy Coder's Guide to Android Development_ Version 3.7 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en