java - How to select row in custom list view android? -


i new android developer. have custom listview image, title, description. when click row in custom list view, there no action onclick.

please advise how solve issue?

first set onitemclicklistener listview

and perform action in onitemclick method.

listview.setonitemclicklistener(this);  @override public void onitemclick(adapterview<?> adapterview, view view, int position, long l) {          //perform action here  } 

Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -