To avoid Android change orientation to call onCreate again, set in your manifest file
<activity android:name=".ActivityName"
android:configChanges="orientation|keyboardHidden"></activity>
Online notepad
To avoid Android change orientation to call onCreate again, set in your manifest file
<activity android:name=".ActivityName"
android:configChanges="orientation|keyboardHidden"></activity>
A hint for codesniffer and phpstorm users:
Go under File>>SettingsOn the search bar type: External tools.Add a command for phpcs.with --report=emacs in command line and add an output filter like $FILE_PATH$:$LINE$:$COLUMN$When using ajax to reload page components like buttons and inputs, jqMobile doesn't redesign them. To ask jquery to redesign items, just call
$("#page_id").page()