Re: [android-developers] list view doubt
On Wed, May 09, 2012 at 07:49:41AM +0530, Jagadeesh wrote:
>
> in my list view i need to expand clicking on item need expand
>
> List
> samsung-----another page should populate ---here i need specify one hyperlink
> philips -----another page should populate ----here i need specify one
> hyperlink
If I understand correctly, you want the selection of one item to select
one link, and another item selects another link (and so on, I assume).
Ok. Well, unless you left some bits in this code out, here's the problem:
> lv.setOnItemClickListener(new OnItemClickListener() {
> public void onItemClick(AdapterView<?> parent,
> View view, int position,long id) {
Where's the code that should be here, getting and reacting to the
selection made by the user? Did you just leave this out? Or is it
just not there in the first place? If the former, something is wrong
in the code that goes here, but nobody can tell you more than that, as
you left it out, and nobody (as far as I know...) can read your mind.
If the latter, ummmm...well, that would be THE problem.
> }
> });
> static final String[] LISTITEMS = new String[] {
> "Philips Healthcare", "samsung", "siemens Healthcare", "mindtree"
> };
Later,
--jim
--
THE SCORE: ME: 2 CANCER: 0
73 DE N5IAL (/4) MiSTie #49997 < Running FreeBSD 7.0 >
spooky130u@gmail.com ICBM/Hurricane: 30.44406N 86.59909W
"sigh, once upon a time T-1 was fast...."
--seen in alt.sysadmin.net-abuse.email
Android Apps Listing at http://www.jstrack.org/barcodes.html
--
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