Best practice: Extending or overriding an Android library project class

前端 未结 7 1718
春和景丽
春和景丽 2020-12-04 15:31

We\'re using an Android Library Project to share core classes and resources across different builds (targets) of our Android application. The Android projects for each speci

7条回答
  •  死守一世寂寞
    2020-12-04 16:17

    You can also use an Activity factory if you need to provide extended activitys for differnt build variants and have your library deal with the abstract factory alone. This can be set in your build variants Application file.

提交回复
热议问题