Day: October 26, 2018

How to check user permission is allow or not in android

October 26, 2018

Android How to check user permission is allow or not in android is to allow or not marshmallow and higher and show a dialog when permission is not allowed. In this Android tutorial, I am sharing How permission can be checked at runtime without throwing SecurityException? marshmallow and higher version and show a dialog to allow user […]

Read More

Changing background color of selected item in recyclerview

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