Thanks. I finally got this going. However, I may not be handling
this situation the best way.
Now I've been struggling for several more days on another issue.
So, I have a ListView with the following for the row.xml:
?xml version=1.0 encoding=utf-8?
com.test.CheckableLinearLayout
Put a listener on your checkboxes and update your array from there...
Then, you only need to check your array, which is much faster and easier
to handle anyway.
On 04/07/2010 8:20 AM, SirAndroidDev wrote:
Thanks. I finally got this going. However, I may not be handling
this situation the
Okay, thanks Brad. I thought the CheckedTextViews (ctv) were all one
in the same? Seems I read a post a bit ago that recommeneded casting
the second argument in the onListItemClick() method (View v) to get at
the actual CheckedTextView. Does that sound right? Sorry I'm a bit
in the fog on
You can setup your listener when you are filling in the text
information... just make it the same listener for all of them, and sort
out which one it is in the listener event... I usually just use the
convertView Tag property for that, and set it to the position in your
Array list.. that way
Thanks Brad. I'll give that a go.
I was checking out your application from you Website, that looks
pretty nice.
On Jul 4, 1:10 pm, Brad Gies rbg...@gmail.com wrote:
You can setup your listener when you are filling in the text
information... just make it the same listener for all of them,
Hah.. well.. hopefully the one I am releasing in a day or two will be
even better... ;). But.. thanks. Oh.. just realized that you are
probably talking about the new one.. I just realized I put screen shots
of it up... well.. I can't take much credit for the looks... I broke
down and hired an
Ah, thanks for the recommendation. I have a guy somewhat helping as a
co-developer. But I do all of the UI and 85% of the code. However,
as the company grows (fingers crossed) having access to a recommended
designer sure helps. Thanks.
On Jul 4, 2:08 pm, Brad Gies rbg...@gmail.com wrote:
Hi,
I'm not sure if I truly understood your problem but one thing I would
suggest is to check the API Demos app that is shipped with the SDK, if
you haven't done yet.
In particular, there's a class named List11.java which gives you a
brief overview on how to use the CheckedTextView.
In the case
8 matches
Mail list logo