recyclerview row item selected color change android

recyclerview row item selected color change android

October 26, 2018

hey here is the solution to changing the background color of a selected list item in the recycler view list. it’s very easy your can just follow the step for┬áChanging background color of selected item in recyclerview. ******* Change in onBindViewHolder ******* public void onBindViewHolder(final ViewHolder holder, final int position) { holder.tv.setText(android_versionnames[position]); holder.linearlayout.setOnClickListener(new View.OnClickListener() { […]

Read More