eatbookexamples
eatbookexamples copied to clipboard
Example code from the Efficient Android Threading book.
Results
2
eatbookexamples issues
Sort by
recently updated
recently updated
newest added
``` ThreadPoolExecutor executor = new ThreadPoolExecutor( 0, N * 2, 60L, TimeUnit.SECONDS, new ArrayBlockingQueue(10) ); ``` When I execute less than 10 Runnable, the task always be executed. This example...
if all the download tasks are finished fast enough, mEcs.isTerminated() will return true, so there could be a chance that not all the bitmaps will be shown.Is my assumption right?