jeudi 24 janvier 2019

Why Switch case is not working in onBindViewHolder method of RecyclerView?

I have implemented multiview Recycler View but checking the itemview type using switch case giving me error but using if-else it's working fine.

Why so?

See this image to get the situation!

See this image to get the situation!

Aucun commentaire:

Enregistrer un commentaire