Skip to content

Commit 9126467

Browse files
committed
FEAT : Updated sample with the latest library changes
1 parent 3bbfbad commit 9126467

2 files changed

Lines changed: 23 additions & 1 deletion

File tree

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
package="com.matpag.sample">
44

55
<application
6+
android:name=".AppApplication"
67
android:allowBackup="true"
78
android:icon="@mipmap/ic_launcher"
8-
android:label="@string/app_name"
99
android:supportsRtl="true"
10+
android:label="@string/app_name"
1011
android:theme="@style/AppTheme">
1112

1213
<activity
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
package com.matpag.sample;
2+
3+
import android.app.Application;
4+
5+
import com.matpag.clickdrawabletextview.CsDrawableSettings;
6+
7+
/**
8+
* Custom {@link Application} class
9+
*
10+
* Created by Mattia Pagini on 17/05/2017.
11+
*/
12+
public class AppApplication extends Application {
13+
14+
@Override
15+
public void onCreate() {
16+
super.onCreate();
17+
18+
//Init the library
19+
CsDrawableSettings.init(this, BuildConfig.APPLICATION_ID);
20+
}
21+
}

0 commit comments

Comments
 (0)