title: How to finish an activity from RecyclerView adapter class using Kotlin
body: <p>I am new to Kotlin programming language and I want to finish my RecyclerView activity from adapter class. How do I do it?
  It used to be quite easy in java but I just switched to Kotlin and I am facing this problem.</p>