Last active
September 14, 2019 20:02
-
-
Save AliAzaz/5314d6cc4697701d9e6bdc321ca23f74 to your computer and use it in GitHub Desktop.
View class of text recognizer and label in image using Firebase ML Kit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface MainView { | |
interface UIView { | |
fun setTextView(analyzedText: String) | |
fun setBitmapOnImageView(bitmap: Bitmap) | |
fun setToast(message: String) | |
fun showDialog() | |
fun dismissDialog() | |
} | |
interface PresenterView { | |
fun grantPermission(): Boolean | |
fun onGettingBitmapForImageView(bitmap: Bitmap) | |
fun onCaptureClicked(CAMERA_REQUEST: Int) | |
fun onGettingBitmapURIForCrop(bitmapURI: Uri) | |
} | |
interface ModelView | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment