Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 1.89 KB

File metadata and controls

13 lines (10 loc) · 1.89 KB

//app/com.fredhappyface.ewesticker.utilities

Package-level declarations

Types

Name Summary
Cache [androidJvm]
class Cache(capacity: Int = 30)
Basically this behaved like an ordered set with some maximum capacity. When this capacity is exceeded an element is removed from the start
StickerClickListener [androidJvm]
interface StickerClickListener
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.