user3978148
user3978148

Reputation:

Add more android "name" in AndroidManifest

I use Sugar ORM in my application. I also declared a class that extends Application. Now I have a problem, In order to use Sugar ORM I need to include this in Manifest :

android:name="com.orm.SugarApp"

But I need also an android name for MyApplication that extends Application. How can I do that ? Sorry if the question is stupid, I'm new to Android. Thanks

Upvotes: 1

Views: 78

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006829

Have MyApplication extend com.orm.SugarApp instead of Application.

Upvotes: 1

Related Questions