My site uses Twenty Fourteen theme. But the theme is very narrow.
Load image from URL, AsyncTask
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.
HttpClient, HttpUrlConnection
ProgressDialog, ProgressBar
The simpliest way to show progress in ActionBar is
[code language=”java”]
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setContentView(R.layout.activity_main);
[/code]
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