Contextual Legacy for Android Support Libraries Integration¶
Due to the deprecation of Android’s Support Libraries new features will only be added to the AndroidX version of Contextual. If you need any support on this version of Contextual don’t hesitate in contacting us at support@contextu.al .
Requirements¶
- Your App Version must be targeted for at least KitKat (4.4) and above
minSdkVersion
version 19 and above.- Contextual uses Java 1.8 features, please make sure your app uses it as well:
1 2 3 4 5 6 7 8
android { ... compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } ... }
-
If you plan to use custom images please ensure you have one of the supported image libraries below:
- Glide > 3.x (4.x is supported on Android-X) [recommended]
- Picasso == 2.5.2
-
If you are using Proguard please ensure you follow the instructions here
Integration Steps¶
Having problems?¶
Please have a look at our troubleshooting guide.
Proguard configuration.¶
If you use Proguard, please follow instruction below.
Depending on your ProGuard config and usage, you may need to put the following lines into your proguard-rules.pro file:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
|
Contextual includes Glide image library dependency¶
1 |
|
Last update:
2023-04-12