Thanks for answering...
I ended descontructing the whole Activity until I came across what
seems to be the cause of the problem.
When creating the SimpleCursorAdapter I use: R.layout.row which is a
layout that I created.
When I use one of android's, for instance:
android.R.layout.simple_list_item_1, it works but it does not show
what I need on screen.
If anybody can help... I'd appreciate it. Thanks!
You don't see any itemClickListener because I post part of the
code...this is what I missed.
@Override
protected void onListItemClick(ListView l, View v, int position,
long id){
super.onListItemClick(l, v, position, id);
Cursor c = (Cursor) this.getListAdapter().getItem(position);
this.var1=c.getString(1);
this.var2=c.getString(2);
this.var3=c.getString(3);
this.var4=c.getString(4);
Intent nextActivity = new Intent(Activity_CardList.this,
Activity_ViewCard.class);
nextActivity.putExtra("var1", var1);
startActivity(nextActivity);
}
On Apr 9, 11:24 pm, Chander Pechetty <[email protected]> wrote:
> I don't see any itemClickListener registered ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---