android - Highlight the image Listview with array adapter (Textview And image) -


i have listview array adapter try highlight item when listview clicked.i have text , image.

<linearlayout     android:layout_width="match_parent"     android:layout_height="60dp"     android:id="@+id/relative">       <de.hdodenhof.circleimageview.circleimageview         android:layout_width="65dp"         android:layout_height="wrap_content"         app:civ_border_color="@color/rosybrown"         app:civ_border_width="2dp"         android:layout_marginleft="10dp"         android:id="@+id/saleimage"         android:src="@drawable/doctor2"/>        <textview         android:text="jordan griffin"         android:layout_marginleft="30dp"         android:textstyle="italic"         android:textcolor="#000"         android:layout_margin="15dp"         android:layout_width="match_parent"         android:layout_height="20dp"         android:id="@+id/txtdailog" /> </linearlayout> 

i have highlight text view following code: how hight imageview when click listview. (1)when click hightlight image view (2)when click first item image want add. when click second image want add first item add image must removed.

how hight imageview when click listview. (1)when click hightlight image view (2)when click first item image want add. when click second image want add first item add image must removed.how hight imageview when click listview. (1)when click hightlight image view (2)when click first item image want add. when click second image want add first item add image must removed.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -