but I am a bit confused about what my `BaseFragmen...
# android
k
but I am a bit confused about what my
BaseFragment
should extend, and I'm not 100% sure this is a good idea to begin with. I end up duplicating that code across all fragments and sometimes will forget to write it, so I was thinking having it in one place might be nice
d
You could try on github thirtyinch mvp, it avoids a bunch of boilerplate and even supports RxJava... and hooks all the lifecycle for you.
👍 1
s
1 suggestion keep weakreference in presenter of your view.