Class TxResources

java.lang.Object
android.content.res.Resources
com.transifex.txnative.TxResources

public class TxResources extends Resources
Resources wrapper that enables TxNative functionality by overriding specific String related methods.

We override some of the calls that return strings. The rest of the string methods, call internally the ones we have overridden. The remaining methods are delegated to the base Resources object.

All resource method calls made programmatically by the user will reach here. String resources used during the view inflation process will also be read from here, after having the process intercepted by TxInterceptor and having the view transformed by the respective ViewTransformer class.