Created
August 20, 2020 19:20
-
-
Save manuelernesto/46c7def13f2d53cf549fedc761980e77 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
override fun onActivityCreated(savedInstanceState: Bundle?) { | |
super.onActivityCreated(savedInstanceState) | |
rv_room.setHasFixedSize(true) | |
rv_room.layoutManager = LinearLayoutManager(context) | |
launch { | |
context?.let { | |
val palestrantes = PalestranteDB.getDatabase(it).dao().buscarTodos() | |
rv_room.adapter = PalestranteAdapter(palestrantes) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment