AntiPattern Examples: WHAT NOT TO DO !!
The worst thing that can happen to your app's responsiveness is an "Application Not Responding" (ANR) dialog.
It is very important to understand which methods run in Main Thread.
This repository contains examples source code
For more info about the blog :
-
[AntiPattern: freezing a UI with Broadcast Receiver] (http://gmariotti.blogspot.com/2013/02/antipattern-freezing-ui-with-broadcast.html)
-
[AntiPattern: freezing a UI with AsyncTask] (http://gmariotti.blogspot.com/2013/02/antipattern-freezing-ui-with-asynctask.html)
-
[AntiPattern: freezing a UI with a Service and an Intent Service] (http://gmariotti.blogspot.com/2013/03/antipattern-freezing-ui-with-service.html)
The following libraries need to cloned and manually added to project.
Author: Gabriele Mariotti
Copyright 2013 Gabriele Mariotti
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


