Android list view setOnItemClickListener not working

前端 未结 4 928
执念已碎
执念已碎 2021-01-13 06:04

I want to hide the edit text and button field initially in list view and show that edit text and button for a particular raw in list view when that raw is clicked.So I tried

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-13 06:29

    Here your edittext inside the listview is having all the focus, so this listview onClick is not working. Remove the focus from the editext box and it will start working

提交回复
热议问题