<How to add a button at the end of a recycler view...
# stackoverflow
u
How to add a button at the end of a recycler view (kotlin)? I'm gonna add a button at the end of my recycler view and i don't know how to do it . i will appreciate you if you teach me . this is my main activity code : class MainActivity : AppCompatActivity() { private var number: Int = 0 private lateinit var name: String override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) val myRecyclerView = findViewById(R.id.recyclerView) val myViewModel = ViewModel()...