Android Studio – Can't access view elements by LayoutInflater in Kotlin
I simply made an adapter for my recyclerview.like this : class CustomerAdapter(mCtx:Context,val customers:ArrayList<Customer>):RecyclerView.Adapter<CustomerAdapter.ViewHolder>(){ and i have a xml layout file to inflate recycleview items. But the problem is in onCreateViewHolder ... I can not access inflated elements ... codes writed…