TuskyApplication: call super.onCreate()

Although for now it makes no difference calling super.onCreate or not
(the method Application.onCreate() is empty), it is denoted with
@CallSuper and might cause errors in some IDE if it is not called.
This commit is contained in:
Peter Cai 2017-05-01 14:02:32 +08:00
parent 9f925d7f1c
commit c9036bf336

View File

@ -24,6 +24,7 @@ import com.jakewharton.picasso.OkHttp3Downloader;
public class TuskyApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
// Initialize Picasso configuration
Picasso.Builder builder = new Picasso.Builder(this);
builder.downloader(new OkHttp3Downloader(this));