# Recycler View has a Button

**URL:** <https://discuss.kotlinlang.org/t/recycler-view-has-a-button/11451>\
**Category:** Android\
**Created:** [February 5, 2019, 10:52am UTC](https://discuss.kotlinlang.org/t/recycler-view-has-a-button/11451 "2019-02-05T10:52:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![androidkotnik](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@androidkotnik](https://discuss.kotlinlang.org/u/androidkotnik)\
**Post date:** [February 5, 2019, 10:52am UTC](https://discuss.kotlinlang.org/t/recycler-view-has-a-button/11451/1 "2019-02-05T10:52:45Z")

</div>

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??
