[android-developers] Re: How to create a ListView with different View/layout for each row

2009-10-27 Thread Guo yt

It seems no body concerns on this ListView problem, but I'm lucky to
find the way out by myself : )
Just check out the android source code for  the contacts
application, it seems they didn't use list view to implement it
I will do the same for my application,  cheer.

On Oct 26, 2:51 pm, Guo yt guo.yun...@gmail.com wrote:
 Just have a look in the system app contacts ---add new contact, this
 activity have a listview with different structured views for each row.
 I could do this by override the getView method,  but a problem I'm
 facing is edittext will lose focus when I click on it. What happened
 when the view enter touch mode? and any solution to fix 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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How to create a ListView with different View/layout for each row

2009-10-27 Thread Guo yt

It seems nobody cares about this ListView problem. I'm lucky to find
the way out myself : )
I checked the source code of android for contacts application which is
much more helpful than App-demo come with the sdk.
The solution is in front of me, cheer.
I will update when I fix my problem, maybe helpful for others

On Oct 26, 2:51 pm, Guo yt guo.yun...@gmail.com wrote:
 Just have a look in the system app contacts ---add new contact, this
 activity have a listview with different structured views for each row.
 I could do this by override the getView method,  but a problem I'm
 facing is edittext will lose focus when I click on it. What happened
 when the view enter touch mode? and any solution to fix 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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How to create a ListView with different View/layout for each row

2009-10-27 Thread vovkab

You can find example in API Demos, List13.java

On 27 окт, 13:03, Guo yt guo.yun...@gmail.com wrote:
 It seems no body concerns on this ListView problem, but I'm lucky to
 find the way out by myself : )
 Just check out the android source code for  the contacts
 application, it seems they didn't use list view to implement it
 I will do the same for my application,  cheer.

 On Oct 26, 2:51 pm, Guo yt guo.yun...@gmail.com wrote:



  Just have a look in the system app contacts ---add new contact, this
  activity have a listview with different structured views for each row.
  I could do this by override the getView method,  but a problem I'm
  facing is edittext will lose focus when I click on it. What happened
  when the view enter touch mode? and any solution to fix 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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---