//app/com.fredhappyface.ewesticker
| Name | Summary |
|---|---|
| Cache | [androidJvm] class Cache(size: Int) Basically this behaved like an ordered set with some maximum capacity. When this capacity is exceeded an element is removed from the start |
| ImageKeyboard | [androidJvm] class ImageKeyboard : InputMethodService ImageKeyboard class inherits from the InputMethodService class - provides the keyboard functionality |
| MainActivity | [androidJvm] class MainActivity : AppCompatActivity MainActivity class inherits from the AppCompatActivity class - provides the settings view |
| StickerImporter | [androidJvm] class StickerImporter(context: Context, toaster: Toaster) The StickerImporter class includes a helper function to import stickers from a user-selected stickerDirPath (see importStickers). The class requires the application baseContext and an instance of Toaster (in turn requiring the application baseContext) |
| StickerPack | [androidJvm] class StickerPack(packDir: File) Helper class to provide pack-related information A "Pack" is informally represented as a File |
| StickerSender | [androidJvm] class StickerSender(context: Context, toaster: Toaster, internalDir: File, currentInputConnection: InputConnection?, currentInputEditorInfo: EditorInfo?, compatCache: Cache, imageLoader: ImageLoader) The StickerSender Class used to contain all of the methods used for sending a sticker to an InputConnection |
| Toaster | [androidJvm] class Toaster(context: Context) The Toaster class provides a simplified interface to android.widget.Toast. Pass in the android.content.Context to the constructor and call the 'toast' function (others as below) toaster.state keeps track of an error state or similar. |
| Utils | [androidJvm] object Utils Class to provide utils that are shared across ewesticker. |
| Name | Summary |
|---|---|
| MAX_FILES | [androidJvm] private const val MAX_FILES: Int = 4096 |
| MAX_PACK_SIZE | [androidJvm] private const val MAX_PACK_SIZE: Int = 128 |