Re: [android-developers] Re: Safe to add Fragment into ListView?
Hi MagouyaWare,
I did try it and it works perfectly at the moment.
I'm just worried whether there will be any problems I need to be aware of.
I'm just worried whether there will be any problems I need to be aware of.
thanks
On Tuesday, May 15, 2012 12:56:55 AM UTC+8, MagouyaWare wrote:
You could always try it and see... You've been waiting weeks for an answer, and probably could have figured it out in a matter of hours by just trying it to see what happens.
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Mon, May 14, 2012 at 7:15 AM, spotleo <leo@spotleo.com> wrote:Dianne or Romain Guy?Or anyone else can provide any suggestions?
On Thursday, April 26, 2012 1:45:34 PM UTC+8, spotleo wrote:Hi,
I have a reusable UI component Fragment A that has been used
throughout various Activities and they all worked fine.
The controller logic is placed inside Fragment A whereas the view
layer is defined in Fragment A's layout file.
Now I have a requirement to add Fragment A into part of Listview
item's layout file.
From my understanding, Fragment is no different from View from view
tree's perspective. In other words
when we use Hierarchy Viewer to inspect the view tree, we won't see
Fragment A, but instead we'll see the view
returned from Fragment A's onCreateView, so theoretically it is ok to
place Fragment A inside Listview item and I have
successfully done so.
My question is, is my assumption correct? Is it safe to place Fragment
into ListView item?
Anything I need to be aware of when doing this?
thanks--
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home