Owen Chen
Results
2
comments of
Owen Chen
You can use built-in functions to achieve the time-based chunk ``` private class TimedChunkFlow(sourceFlow: Flow, periodMs: Long) { private val chunkLock = ReentrantLock() private var chunk = mutableListOf() val resultFlow...
> > this is for wrapping the height of each view > > ```kotlin > > import android.view.View > > import androidx.recyclerview.widget.LinearLayoutManager > > import androidx.recyclerview.widget.RecyclerView > > import androidx.viewpager2.widget.ViewPager2...