PDA

View Full Version : [FIXED] CPU 100% Usage in Ext.plugin.PullRefresh



Frank
22 Apr 2012, 11:07 PM
Hi, I am in ST2 final, and I found that when using Ext.plugin.ListPaging, it will make CPU usage 100% on Android 2.x. I changed some Androids with the same issue, and I tried to remove the loading animations called "x-loading-spinner", the problem is gone!

What I removed is(red text below):
/**
* @private
* @cfg {String} loadTpl The template used to render the load more text
*/
loadTpl: [
// '<div class="{cssPrefix}loading-spinner" style="font-size: 180%; margin: 10px auto;">',
// '<span class="{cssPrefix}loading-top"></span>',
// '<span class="{cssPrefix}loading-right"></span>',
// '<span class="{cssPrefix}loading-bottom"></span>',
// '<span class="{cssPrefix}loading-left"></span>',
// '</div>',
'<div class="{cssPrefix}list-paging-msg">{message}</div>'

mitchellsimoens
23 Apr 2012, 7:31 AM
I have not had this problem on my vanilla Android 2.3.7 phone but we can take a look.

What particular android version and device are you using?

Frank
28 May 2012, 12:30 AM
I have not had this problem on my vanilla Android 2.3.7 phone but we can take a look.

What particular android version and device are you using?

The device I using is HUAWEI C8650, Android 2.3.3.