Optimizing launch time for Android app -


my app contains single activity , fragment listview.

the listview items (not more 5) being loaded sqlite. each item comprises of 3 textview , imageview.

but still taking more 1 second load app.

can please suggest tips decrease launching time of android app.

code flow:

oncreate method of activity:

super.oncreate() // finding 2 views id // initialising fragment manager // initialising toolbar // setting toolbar supportactionbar // filehandle initialization // databasehandle initialization   if (condition using filehandle) {     // add fragmenta } else {    if (condition using databasehandle) {       // add fragmentb    } else {       // add fragmentc    }    // update filehandle } 


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -