MCPcopy Create free account

hub / github.com/alexjlockwood/adp-leaky-threads / functions

Functions17 in github.com/alexjlockwood/adp-leaky-threads

↓ 3 callersMethodtoString
()
src/com/adp/leaky/threads/MainActivity.java:69
↓ 2 callersMethodrunExample
()
src/com/adp/leaky/threads/MainActivity.java:176
↓ 1 callersMethodclose
()
src/com/adp/leaky/threads/MainActivity.java:110
↓ 1 callersMethodexampleOne
Example illustrating how threads persist across configuration changes that destroy the underlying Activity instance. The Activity context also leaks b
src/com/adp/leaky/threads/MainActivity.java:56
↓ 1 callersMethodexampleThree
Same as example two, except for this time we have implemented a cancellation policy for our thread, ensuring that it is never leaked! onDestroy() is u
src/com/adp/leaky/threads/MainActivity.java:133
↓ 1 callersMethodexampleTwo
This example avoids leaking an Activity context by declaring the thread as a private static inner class, but the threads still continue to run even ac
src/com/adp/leaky/threads/MainActivity.java:88
↓ 1 callersMethodprintThreads
Print all background threads to the screen.
src/com/adp/leaky/threads/MainActivity.java:188
↓ 1 callersMethodresetThreads
Interupts all running example threads.
src/com/adp/leaky/threads/MainActivity.java:200
MethodonCheckedChanged
(RadioGroup group, int checkedId)
src/com/adp/leaky/threads/MainActivity.java:208
MethodonCreate
(Bundle savedInstanceState)
src/com/adp/leaky/threads/MainActivity.java:21
MethodonCreateOptionsMenu
(Menu menu)
src/com/adp/leaky/threads/MainActivity.java:150
MethodonDestroy
()
src/com/adp/leaky/threads/MainActivity.java:138
MethodonOptionsItemSelected
(MenuItem item)
src/com/adp/leaky/threads/MainActivity.java:156
MethodonSaveInstanceState
(Bundle savedInstanceState)
src/com/adp/leaky/threads/MainActivity.java:39
Methodrun
()
src/com/adp/leaky/threads/MainActivity.java:58
Methodrun
()
src/com/adp/leaky/threads/MainActivity.java:99
MethodtoString
()
src/com/adp/leaky/threads/MainActivity.java:114