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 ad30c78faf
commit a498292c64
No known key found for this signature in database
GPG Key ID: 71F5FB4E4F3FD54F

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));