Skip to content

Commit

Permalink
update show toast
Browse files Browse the repository at this point in the history
  • Loading branch information
amirisback committed Feb 6, 2024
1 parent 1524765 commit a9e8b8d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -69,6 +70,7 @@ class KeyboardLanguageActivity : BaseActivity<ActivityKeyboardLanguageBinding>()
notifyListener: FrogoRecyclerNotifyListener<KeyboardLanguage>
) {
viewModel.setKeyboard(data.xml) {
showToast("${data.name} Selected")
viewModel.getKeyboardLanguage(this@KeyboardLanguageActivity)
}
}
Expand Down

0 comments on commit a9e8b8d

Please sign in to comment.