Appsee Support

How to mask personal or sensitive data in Android recycler views?

Using markViewAsSensitive with recyclerview can sometimes not work as intended.

By recycling a view, it can lose the masking of the markViewAsSensitive call.

To make sure you call it properly, you should call 'markViewAsSensitive' inside the RecyclerView's onCreateViewHolder method.

 

Did you find this article helpful?