0
这是在onCreate()中调用的,我如何加快方向切换?切换到横向方向很慢
private void setupChartView(int position){
Quote myQuote = quotesAdapter.getItem(position);
this.symbol = myQuote.getSymbol();
String url = "http://chart.finance.yahoo.com/z?s=" + symbol + "&t=1d&q=l&l=on&z=l&p=s&a=v&p=s&lang=en-US®ion=US";
if(chartImageView != null)
imageDownloader.download(url, chartImageView);
if(chartImageViewLandscape != null)
imageDownloader.download(url, chartImageViewLandscape);
}
任何示例显示缓存图像的最佳方式? – 2010-09-04 17:53:38
我不知道有关示例,但Android文档非常清晰。也许你可以谷歌的东西,如'ClassName安卓'这里有一个不同的方式来存储/缓存文件列表: http://developer.android.com/guide/topics/data/data-storage.html – 2010-09-05 04:53:11