DialogTypes.TYPE_CUSTOM cannot resolved
ilhamhadisyah opened this issue · 0 comments
ilhamhadisyah commented
error :com.labters.lottiealertdialoglibrary.DialogTypes
cannot resolve TYPE_CUSTOM
how to produce error
- configure settings.gradle (adding
maven { url "https://jitpack.io" }
) - adding
maven { url "https://jitpack.io" }
to top-level build.gradle - import dependencies implementation
'com.airbnb.android:lottie:2.7.0'
andimplementation 'com.github.mayuce:LottieAlertDialog:1.1'
- using
LottieAlertDialog.Builder(this,DialogTypes.TYPE_CUSTOM,"lottie_file.json")
android studio version : Arctic fox 2020.3.1 Patch 2
build:gradle version : 7.0.2