public class

XResForwarder

extends Object
java.lang.Object
   ↳ android.content.res.XResForwarder

Class Overview

Instances of this class can be used for XResources.setReplacement(String, String, String, Object) and its variants. They forward the resource request to a different Resources instance with a possibly different ID.

Usually, instances aren't created directly but via XModuleResources.fwd(int).

Summary

Public Constructors
XResForwarder(Resources res, int id)
Creates a new instance.
Public Methods
int getId()
Returns the target resource ID.
Resources getResources()
Returns the target Resources instance.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public XResForwarder (Resources res, int id)

Creates a new instance.

Parameters
res The target Resources instance to forward requests to.
id The target resource ID.

Public Methods

public int getId ()

Returns the target resource ID.

public Resources getResources ()

Returns the target Resources instance.