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
Post a Comment