Recycler View has a Button


#1

i have button in recyclerView and now i need to send the data to server using retrofit what to do in this case? where to write the setOnClick Listener of it in Adapter or Activity and the how to code it for server also?

Any Help??


Android Kotlin