You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm trying to use the library to take a screenshot but there is issue with the code here
Instacapture.capture(this, object : SimpleScreenCapturingListener() {
override fun onCaptureComplete(bitmap: Bitmap) {
//Your code here..
}
})
// or in Rx way
Instacapture.captureRx(this).subscribe { bitmap ->
//Your code here..
}
it says "expected member declaration " in these two lines ( Instacapture.captureRx(this).subscribe ) and ( Instacapture.capture(this, object : SimpleScreenCapturingListener() {
)
and for (bitmap )it says unresolved reference
The text was updated successfully, but these errors were encountered:
Hello,
I'm trying to use the library to take a screenshot but there is issue with the code here
it says "expected member declaration " in these two lines ( Instacapture.captureRx(this).subscribe ) and ( Instacapture.capture(this, object : SimpleScreenCapturingListener() {
)
and for (bitmap )it says unresolved reference
The text was updated successfully, but these errors were encountered: