how to support kotlin
Closed this issue · 6 comments
Qiaoshi96 commented
hey,my project use kotlin when I use this,it do not work well
He-YuFei commented
rxPermissions.request(android.Manifest.permission.WRITE_EXTERNAL_STORAGE).subscribe {
if (!it) {
Toast.makeText(this, "!!!", Toast.LENGTH_LONG).show()
}
}
it works fine with my kotlin project
Qiaoshi96 commented
thanks
mrArtCore commented
How about to close this issue?))
galuszkak commented
Hi @tbruyelle,
I think this issue can be closed and also #311
tbruyelle commented
indeed thx
xiao00yao commented
请问一下大神么为啥 在kotlin中调用rxPermissions.request() 会爆红呢