lopspower/Biometric

How can I use it in an Activity

woxingxiao opened this issue ยท 1 comments

Thanks for your excellent work for this lib. ๐Ÿ‘๐Ÿ‘

But why the BiometricHelper has to be instanced in a fragment? How can I use it in an activity?

class BiometricHelper(private val fragment: Fragment) 

Isn't this a better way?

class BiometricHelper(private val context: Context)