SimformSolutionsPvtLtd / SSffmpegVideoOperation

This is a library of FFmpeg for android... 📸 🎞 🚑
Apache License 2.0
354 stars 85 forks source link

Removing Activity Dependency from CallBackQuery callQuery #31

Closed adfwhitestar closed 2 years ago

adfwhitestar commented 2 years ago

By Creating a handler inside of the callQuery method you can remove the Activity Dependency from callQuery considering all you were doing was calling runOnUiThread in onSuccess. This is also better because now this can be called from a ViewModel without much issue.