I have a function to connect disconnected arabic alphabets (this problem is only appearing in those phones which do not have arabic installed).
I can use this function successfully for the TextView applying it this way:
text.setText(ArabicReshaper.shape(whateverstring));
The problem is I have too many strings in my application. I would like to know if there is any other way I can apply Shaper function to all the TextViews and Buttons in one go rather than doing it manually one by one.
You can extend
TextViewclass, overridesetTextmethod and use it everywhere in your app instead of regularTextView