Remove view pools
parent
072accb1e1
commit
d0e4148040
@ -1,19 +0,0 @@
|
|||||||
package org.thoughtcrime.securesms.dependencies
|
|
||||||
|
|
||||||
import androidx.recyclerview.widget.RecyclerView
|
|
||||||
import dagger.Module
|
|
||||||
import dagger.Provides
|
|
||||||
import dagger.hilt.InstallIn
|
|
||||||
import dagger.hilt.components.SingletonComponent
|
|
||||||
import javax.inject.Singleton
|
|
||||||
|
|
||||||
@Module
|
|
||||||
@InstallIn(SingletonComponent::class)
|
|
||||||
class UiModule {
|
|
||||||
@Singleton
|
|
||||||
@Provides
|
|
||||||
@ConversationViewPool
|
|
||||||
fun provideConversationRecycledViewPool(): RecyclerView.RecycledViewPool {
|
|
||||||
return RecyclerView.RecycledViewPool()
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,7 +0,0 @@
|
|||||||
package org.thoughtcrime.securesms.dependencies
|
|
||||||
|
|
||||||
import javax.inject.Qualifier
|
|
||||||
|
|
||||||
@Qualifier
|
|
||||||
@Retention(AnnotationRetention.SOURCE)
|
|
||||||
annotation class ConversationViewPool
|
|
Loading…
Reference in New Issue