1

My app isn't able to load the store in android lollipop version but it's working fine in older versions of android.

It doesn't work in lollipop until I require the store in app.js

requires:['StoreA','StoreB']

Is there any library that can fix an issue like this, such as in chrome 43?

If I require more than 200 stores initially, it might affect the performance of the application.

Cœur
  • 37,241
  • 25
  • 195
  • 267
RED.Skull
  • 1,696
  • 3
  • 24
  • 49

1 Answers1

0

Put this code inside view initialize function

var YourStore= Ext.getStore('YourStore').load();
     count =YourStore.getCount();
    console.log("count no"+count);
     if(count == 0){
          YourStore.load();
       }
RED.Skull
  • 1,696
  • 3
  • 24
  • 49