- Called after onActivityCreated
- Called before onStart
- NOT called if value returned from onCreateView is null.
- Non-static instances of anonymous classes hold an implicit reference to their outer class, so the context will be leaked
Enable root-access mode in cm13:
The file manager will only show the option to use root mode if it detects root, and it has a bug that it only looks for root at /system/xbin/su. You can work around the bug by running the following command with /system mounted r/w:
ln -s /sbin/su /system/xbin/su
putzing around with usb options – PTP – gets this working.
also, helps to start server as user root, e.g. sudo su; adb shell …
Order of execution
When first introduced, AsyncTasks were executed serially on a single background thread. Starting with
DONUT, this was changed to a pool of threads allowing multiple tasks to operate in parallel. Starting with
HONEYCOMB, tasks are executed on a single thread to avoid common application errors caused by parallel execution.
If you truly want parallel execution, you can invoke
executeOnExecutor(java.util.concurrent.Executor, Object) with