Android
android.content
public class

android.content.MutableContextWrapper

java.lang.Object
android.content.Context
android.content.ContextWrapper
android.content.MutableContextWrapper

Special version of ContextWrapper that allows the base context to be modified after it is initially set.

Summary

Constants inherited from class android.content.Context

Public Constructors

            MutableContextWrapper(Context base)

Public Methods

          void  setBaseContext(Context base)
Change the base context for this ContextWrapper.
Methods inherited from class android.content.ContextWrapper
Methods inherited from class android.content.Context
Methods inherited from class java.lang.Object

Details

Public Constructors

public MutableContextWrapper(Context base)

Public Methods

public void setBaseContext(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.

Parameters

base The new base context for this wrapper.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48