I am parsing JSON data and using it in Android textview.
And I am getting < instead of <, etc.
I tried with
Html.fromHtml("ur text here");
but this is deprecated and Android studio is not allowing me to use it.
As I saw in google documentation i need to use 2 parameters, from which other is some int Flag, and I don't know how to use it.
fromHtml(String), or on API Level 24+ devices switch tofromHtml(String, int), passing inFROM_HTML_MODE_LEGACYas the flag. And, as Blackbelt points out, please edit your question to explain, in detail, what "is not allowing me to use it" means.