This repository consists of a demo app for the Fleksy Core SDK package.
- Android Studio
- Android 7+
The FleksyCoreSample project requires setting valid Fleksy Core SDK credentials in the build.gradle
(for the keys fleksy_lib_license_key
and fleksy_lib_license_secret
).
These are the files of the demo app where the integration of the Fleksy Core SDK occurs:
AppModule.kt
. This is the Hilt module where theFleksyLib
class is instanced and configured.MainFragment.kt
. TheMainFragment
class configures and uses the APIs of theFleksyLib
object for Autocorrection and Next word prediction.LoadingFragment.kt
. TheLoadingFragment
class uses theLanguagesHelper
APIs of the Core SDK to have an up-to-date language file for theen-US
locale.