Android NullPointerException on Screen Orientation Change
问题 I am narrowing down and explaining as simple as can, main activity initiates an async task. When orientation change onCreate() is recalled so Async is created once gain. so in onPreExecute() i lock my orientation and in onPostExecute() i release lock on orientation. By this way if Async task has started another instance of task will never get created. another issue has started, in main activity itself findViewById() returns null when i randomly keep changing the screen orientation. Re