Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alexjlockwood/adp-leaky-threads
/ functions
Functions
17 in github.com/alexjlockwood/adp-leaky-threads
⨍
Functions
17
◇
Types & classes
2
↓ 3 callers
Method
toString
()
src/com/adp/leaky/threads/MainActivity.java:69
↓ 2 callers
Method
runExample
()
src/com/adp/leaky/threads/MainActivity.java:176
↓ 1 callers
Method
close
()
src/com/adp/leaky/threads/MainActivity.java:110
↓ 1 callers
Method
exampleOne
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 callers
Method
exampleThree
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 callers
Method
exampleTwo
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 callers
Method
printThreads
Print all background threads to the screen.
src/com/adp/leaky/threads/MainActivity.java:188
↓ 1 callers
Method
resetThreads
Interupts all running example threads.
src/com/adp/leaky/threads/MainActivity.java:200
Method
onCheckedChanged
(RadioGroup group, int checkedId)
src/com/adp/leaky/threads/MainActivity.java:208
Method
onCreate
(Bundle savedInstanceState)
src/com/adp/leaky/threads/MainActivity.java:21
Method
onCreateOptionsMenu
(Menu menu)
src/com/adp/leaky/threads/MainActivity.java:150
Method
onDestroy
()
src/com/adp/leaky/threads/MainActivity.java:138
Method
onOptionsItemSelected
(MenuItem item)
src/com/adp/leaky/threads/MainActivity.java:156
Method
onSaveInstanceState
(Bundle savedInstanceState)
src/com/adp/leaky/threads/MainActivity.java:39
Method
run
()
src/com/adp/leaky/threads/MainActivity.java:58
Method
run
()
src/com/adp/leaky/threads/MainActivity.java:99
Method
toString
()
src/com/adp/leaky/threads/MainActivity.java:114