File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed
java/com/skydoves/pokedex Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 27
27
<category android : name =" android.intent.category.LAUNCHER" />
28
28
</intent-filter >
29
29
</activity >
30
- </application >
31
30
31
+ <provider
32
+ android : name =" androidx.startup.InitializationProvider"
33
+ android : authorities =" com.skydoves.pokedex.androidx-startup"
34
+ android : exported =" false"
35
+ tools : node =" merge" >
36
+
37
+ <meta-data
38
+ android : name =" com.skydoves.pokedex.initializer.TimberInitializer"
39
+ android : value =" androidx.startup" />
40
+ </provider >
41
+ </application >
32
42
</manifest >
Original file line number Diff line number Diff line change 17
17
package com.skydoves.pokedex
18
18
19
19
import android.app.Application
20
- import androidx.startup.AppInitializer
21
- import com.skydoves.pokedex.initializer.TimberInitializer
22
20
import dagger.hilt.android.HiltAndroidApp
23
21
24
22
@HiltAndroidApp
25
- class PokedexApp : Application () {
26
-
27
- override fun onCreate () {
28
- super .onCreate()
29
-
30
- AppInitializer .getInstance(this ).initializeComponent(TimberInitializer ::class .java)
31
- }
32
- }
23
+ class PokedexApp : Application ()
You can’t perform that action at this time.
0 commit comments