Oh, does the different source coming from have the listview present differently?

In fact the list data comes from an ArrayList<String> and been passed in adapter's constructor.


-----原始邮件----- From: Zsolt Vasvari
Sent: Monday, May 30, 2011 6:25 PM
To: Android Developers
Subject: [android-developers] Re: How to measure the item size(height) in listview

How is the list item height related to not being able to execute SQL
in your code and reading a string from a file?

On May 30, 5:51 pm, "GMail" <[email protected]> wrote:
I use a listview to display text in a textview,
each listview item include a textview which display a single-line string.

and I want to get the listview item size(height) now,
I tried in “getView” method in adapter with method “convertView.getHeight()”
but fail to get it.

How can I get the size?
thx a lot

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to