From a9e8b8d554b3fd07da9922b67dcf449109e15d98 Mon Sep 17 00:00:00 2001 From: amirisback Date: Tue, 6 Feb 2024 13:25:56 +0700 Subject: [PATCH] update show toast --- .../appkeyboard/ui/language/KeyboardLanguageActivity.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/com/frogobox/appkeyboard/ui/language/KeyboardLanguageActivity.kt b/app/src/main/java/com/frogobox/appkeyboard/ui/language/KeyboardLanguageActivity.kt index c405aea..01ff353 100644 --- a/app/src/main/java/com/frogobox/appkeyboard/ui/language/KeyboardLanguageActivity.kt +++ b/app/src/main/java/com/frogobox/appkeyboard/ui/language/KeyboardLanguageActivity.kt @@ -11,6 +11,7 @@ import com.frogobox.recycler.core.FrogoRecyclerNotifyListener import com.frogobox.recycler.core.IFrogoBindingAdapter import com.frogobox.recycler.ext.injectorBinding import com.frogobox.sdk.ext.gone +import com.frogobox.sdk.ext.showToast import com.frogobox.sdk.ext.visible import dagger.hilt.android.AndroidEntryPoint @@ -69,6 +70,7 @@ class KeyboardLanguageActivity : BaseActivity() notifyListener: FrogoRecyclerNotifyListener ) { viewModel.setKeyboard(data.xml) { + showToast("${data.name} Selected") viewModel.getKeyboardLanguage(this@KeyboardLanguageActivity) } }