how to disable longclick for listview in android -


i want disable response click , long click on items listview in android. have set isenabled(int position) of adapter return false, cells in listview not response click operation, still respond long click operations(that is, highlighted when long clicked). question is, can make cells not highlighted when long clicked. thank you.

try setclickable instead of setenabled


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -