I'm try to develop an android app in Kotlin. I'm using an MVP design pattern. Unfortunately, the application crashes due to an error in the presenter. Below the screenshot of the logcat and you can check my code at Github.
Could anyone please help me?
Thank you.
you are declaring:
then re-declare the same variable in
onActivtyCreated
:try to delete
val
to use the class variableswipeRefresh
.