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:
parent
ad30c78faf
commit
a498292c64
|
@ -24,6 +24,7 @@ import com.jakewharton.picasso.OkHttp3Downloader;
|
||||||
public class TuskyApplication extends Application {
|
public class TuskyApplication extends Application {
|
||||||
@Override
|
@Override
|
||||||
public void onCreate() {
|
public void onCreate() {
|
||||||
|
super.onCreate();
|
||||||
// Initialize Picasso configuration
|
// Initialize Picasso configuration
|
||||||
Picasso.Builder builder = new Picasso.Builder(this);
|
Picasso.Builder builder = new Picasso.Builder(this);
|
||||||
builder.downloader(new OkHttp3Downloader(this));
|
builder.downloader(new OkHttp3Downloader(this));
|
||||||
|
|
Loading…
Reference in New Issue