2.8 KiB

//app/com.fredhappyface.ewesticker

Package com.fredhappyface.ewesticker

Types

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)
TODO
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)
TODO
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.