https://kotlinlang.org logo
Title
d

Deepti M

04/06/2020, 9:40 PM
I want to create multiple replicas of a project with minor changes (like db filters) in each. For the same I created a library project and want to use its activities in child-replicas. But as soon as I am trying to inherit the parent activity in replica module I receive following error on its... • Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath: class com.alivewallpaper.replicantlib.MainActivity, unresolved supertypes: com.google.android.material.navigation.NavigationView.OnNavigationItemSelectedListener Can't we inherit library activities?
g

grahamborland

04/06/2020, 10:25 PM
Use product flavors
👆 1
d

Deepti M

04/06/2020, 10:45 PM
Thanks, it worked 👍