Last active
August 29, 2015 14:04
-
-
Save rajbharath/39a48e62a27531fd90f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Async task is a helper class used for doing background work in separate thread and post the result back to the UI thread . | |
2. It has 3 generics as input, params, progress,result | |
3. 4 methods onPreExecute(), doInBackground(),onProgressUpdate(),onPostExecute() | |
4. UI thread should start execute method. | |
5. Async task can be cancelled at any point of time. onCancelled () will be called if its cancelled. And we can check isCancelled and exit the doInbackground method() | |
6. This is not used for very long running operations. | |
7. It can be used for short background operations typpically for few seconds. | |
study about | |
- Easy Mock testing tool in Junit | |
- Struts | |
- Hibernate | |
- Spring | |
- jMock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment