Actually, the loading images from URL to ImageView (ImageView itself is in GridView or ListView) is not a simple task. You should provide memory and disk caching to avoid reload image again and again.
Author: arvifox
HttpClient, HttpUrlConnection
ProgressDialog, ProgressBar
The simpliest way to show progress in ActionBar is
super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS); setContentView(R.layout.activity_main);
Every programmer must read
10 Articles Every Programmer Must Read
About:
- memory
- floating-point arithmetic
- unicode
- time
- url encoding
- web development
- seo
- undefined behaviour
- networking
- java string
- security
download as pdf
Collator
Performing Locale-Independent Comparisons
Collator c = Collator.getInstance(new Locale("ru")); //c.setStrength(Collator.PRIMARY); System.out.println(c.compare("JOHN", "JOHN")); System.out.println(c.compare("JOHN", "John")); System.out.println(c.compare("JOHN", "john")); System.out.println("JOHN".compareTo("bill"));