JcMinarro / Philology

An easy way to dynamically replace Strings of your Android App or provide new languages Over-the-air without needed to publish a new release on Google Play.
Apache License 2.0
511 stars 37 forks source link

Add `Resources#getText(id: Int, def: CharSequence?)` support #21

Closed pr0t3us closed 5 years ago

pr0t3us commented 5 years ago

Is your feature request related to a problem? Please describe. When calling Resources#getText(id: Int, def: CharSequence?) Philology will not provide translated value. At the moment the android.content.res.Resources class has besides the already implemented getString(id: Int) - one more function which receives the provided default value in case when the resource is not found.

Describe the solution you'd like Add Resources#getText(id: Int, def: CharSequence?) support