Maybe fix bug for Common.shouldDelay#6
Maybe fix bug for Common.shouldDelay#6tinyeeliu merged 1 commit intotinyeeliu:masterfrom neocoin:master
Conversation
…addHeaderView are used, ListView#setAdapter use wrapper adapter(aka HeaderViewListAdapter) that implemented just ListAdapter). Because of this wrapper adapter, BaseAdapter type checking code block Common#shouldDelay right operation.
|
That's indeed a bug. I handled this in the dataChanged method but not there. Peter On Sat, Oct 29, 2011 at 7:51 AM, Sangmin Ryu <
|
Maybe fix bug for Common.shouldDelay
This commit is just removing BaseAdapter check code in Common#shouldDelay
If ListView#addFooterView or ListView#addHeaderView are used, ListView#setAdapter use wrapper adapter(aka HeaderViewListAdapter) that implemented just ListAdapter.
Because of this wrapper adapter, BaseAdapter type checking code block Common#shouldDelay's right operation.
I think this code to need double check with you. I don't exactly understand why you check BaseAdapter at that position. I just edit code and check for my application's right operation.
Thank you for this feature. My original delayed image loading part changed very simple code.