Android increase gridview click speed

自作多情 提交于 2019-12-13 17:33:21

问题


I'm using a GridView in Android. I need to register as many clicks as possible, but gridview reacts to clicks very slow, even if there is no acutal code to execute... is there a possibility to speed this up?


回答1:


Depending on the application, you might want to code up a custom component.

I had a similar problem and replaced the old gridview with a component based on TableLayout. It was more work, but was worth it in the end (faster and more flexible).

Here's a handy article to get you started:

http://developer.android.com/guide/topics/ui/custom-components.html



来源:https://stackoverflow.com/questions/5197438/android-increase-gridview-click-speed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!