You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
api 'com.facebook.litho:litho-core:0.38.0'
api 'com.facebook.litho:litho-widget:0.38.0'
api 'com.facebook.fbjni:fbjni:0.0.2'
kapt 'com.facebook.litho:litho-processor:0.38.0'
// Native C/C++ code loader for Android
api 'com.facebook.soloader:soloader:0.9.0'
// Litho sections an alternative to Android RecyclerView
api 'com.facebook.litho:litho-sections-core:0.38.0'
api 'com.facebook.litho:litho-sections-widget:0.38.0'
compileOnly 'com.facebook.litho:litho-sections-annotations:0.38.0'
kapt 'com.facebook.litho:litho-sections-processor:0.38.0'
In the recycler view we can set something like this recyclerView.recycledViewPool.setMaxRecycledViews(AD_TYPE, 50) to indicate the recycler view about how many view holders should be held in the pool with the type AD_TYPE.
Also, I can set a certain view holder to be not recyclable by this setIsRecyclable(false).
How I can do the same thing with litho?
The text was updated successfully, but these errors were encountered:
Version
In the recycler view we can set something like this
recyclerView.recycledViewPool.setMaxRecycledViews(AD_TYPE, 50)
to indicate the recycler view about how many view holders should be held in the pool with the typeAD_TYPE
.Also, I can set a certain view holder to be not recyclable by this
setIsRecyclable(false)
.How I can do the same thing with litho?
The text was updated successfully, but these errors were encountered: