简体   繁体   中英

Can't scroll ListView when there are too many entries

I have a ListView with ArrayAdapter and when i have too many entries (1000+), it can't be scrolled.

Gives me this error when i try to scroll:

Attempted to finish an input event but the input event receiver has already been disposed.

您应该为此使用Recyclerview

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM