Saving Activity state on Android when change orientation

In Android application when we change the orientation of device then our activity is recreated and some time we face the NullPointerException. To handle NullPointerException or other exceptions we can save current state and retrive the values or tell in AndroidManifest.xml that don’t destroy this activity.

Solution 1: Continue reading “Saving Activity state on Android when change orientation”

ios – NSInternalInconsistencyException IPhone

If you are facing NSInternalInconsistencyException in IOS development.

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 
'-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "..." 
nib but the view outlet was not set.

Follow the solution for Continue reading “ios – NSInternalInconsistencyException IPhone”