I have used fragments to communicate with a Fragment Activity, and this Fragment Activity passes its reference to handle the click events in the Fragment as below.
Bundle tempBundle = new Bundle();
tempBundle.putParcelable("Interface", (Parcelable) new ClickHandler());
Where
class ClickHandler implements ItemClickListener, Parcelable
{
}
This works perfectly fine, while i Browse through the application, the problem is caused, only when i exit the Application(by pressing the HOME key) and after few minutes when i return Back to the application from Recently used applications(mind that coming back to the application immediately wont cause an exception).
does any one has ever faced such issues