FileDocCategorySizeDatePackage
MutableContextWrapper.javaAPI DocAndroid 1.5 API1285Wed May 06 22:41:54 BST 2009android.content

MutableContextWrapper

public class MutableContextWrapper extends ContextWrapper
Special version of {@link ContextWrapper} that allows the base context to be modified after it is initially set.

Fields Summary
Constructors Summary
public MutableContextWrapper(Context base)

        super(base);
    
Methods Summary
public voidsetBaseContext(Context base)
Change the base context for this ContextWrapper. All calls will then be delegated to the base context. Unlike ContextWrapper, the base context can be changed even after one is already set.

param
base The new base context for this wrapper.

        mBase = base;