Hello Guys, Is someone intelligent there who can answer this question?
I m doing some task with following code, I want to access inner class variable from outer class method.
class Outer extends Activity
{
private Handler mHandler = new Handler();
StopTheThread()
{
mHandler.removeCallbacks(mUpdateTimeTask);// this is the wat i want to do
}
class Inner
{
final Runnable mUpdateTask = new = new Runnable() {
public void run() {
//Some Code Goes Here
}
};
InnerClassMethod()
{
mHandler.removeCallbacks(mUpdateTimeTask);// This statement working fine here
}
}
}
Here mUpdateTask is inner class variable which is not accessible from outer class Pleas Tell me how can i write that line