Last active
May 12, 2021 10:35
-
-
Save rahulsainani/ddc8d21dec0db162714af3c247b6257b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private fun setupFeatureTiles(featuresList: List<Features>) { | |
with(recyclerFeatures) { | |
layoutManager = LinearLayoutManager(context, RecyclerView.HORIZONTAL, false) | |
adapter = featuresAdapter | |
} | |
featuresAdapter.submitList(featuresList) | |
lifecycleScope.launch { autoScrollFeaturesList() } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment