New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inject RecycledViewPool by using Dagger2 #662
Inject RecycledViewPool by using Dagger2 #662
Conversation
import io.github.droidkaigi.confsched2018.presentation.MainActivity | ||
|
||
@Module interface MainActivityBuilder { | ||
@ContributesAndroidInjector(modules = [MainActivityModule::class]) | ||
@ContributesAndroidInjector(modules = [MainActivityModule::class, RecycledViewPoolModule::class]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exceeded max line length (100) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is unrelated to the PR but I'm curious what tool you're using for the automatic code reviews. Looking to implement something similar for my projects. Thanks.
👀 |
import dagger.Module | ||
import dagger.Provides | ||
|
||
// Share RecycledViewPool between content fragments of ViewPager. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thanks! 😄 |
Issue
Overview (Required)
Links
Screenshot