Wednesday, August 31, 2011

Re: [android-developers] How to populate a gridview with data from a table (SQLite)?

Hello again. I want to thank the helping... with ListView it worked... I do not know why, in the same way, my app did not work with GridView. But, in future I think it will be easier for understand...

Thank you.

On Wed, Aug 31, 2011 at 5:23 PM, Michael Banzon <michael@banzon.dk> wrote:
On Wed, Aug 31, 2011 at 10:19 PM, TreKing <trekingapp@gmail.com> wrote:
> On Wed, Aug 31, 2011 at 3:11 PM, Dalton Cézane <daltoncezane@gmail.com>
> wrote:
>>>
>>> Is your getView() even called?
>>
>> I do not know where to call it, because all samples I've seen do not call
>> it explicitly... Can you help with this?

When using ListView you need to set the adapter on the view.

--
Michael Banzon
http://michaelbanzon.com/

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



--
=======================================================
Dalton Cézane - Smarteju Tecnologia
Especialista em Ciência da Computação (UFCG)
Bacharel em Ciência da Computação (UFCG)
Técnico em Informática (ETER)

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