I have created a new android application and want to support encryption for important data. I show those encrypted text in textview like '*****' and onClick event of the text (I'm using clickable span for click event as only some part of the text is encrypted in large data) I will show decrypted data by replacing '*****'. I'm using a API to get the decrypted data from our server, as network call may take some time, it is better to show loading for network fetch. So, is there any option to show loader for some part of the text for better user experience?
Initially textview will show some content like,
one ***** data
On click of text(*****) it should show loader instead of the text like in image
Thanks.