グリッド ビューの内容を初期値に「リセット」しようとしています。私の活動から Create 私は持っています
gridView = (GridView) findViewById(R.id.gridv);
gridView.setNumColumns(gridsize);
gridView.setAdapter(new Adapter(this, temp,gridsize));
次に、リセットしようとすると、そのようにしました(アクティビティの別の関数から呼び出します)
gridView.setAdapter(new Adapter(this, temp,gridsize));
gridView.invalidateViews();
動作しますが、次のエラーが発生します:(クラッシュしません)
10-22 18:12:39.719: E/ActivityThread(716): Service
com.android.exchange.ExchangeService has leaked ServiceConnection
com.android.emailcommon.service.ServiceProxy$ProxyConnection@40cee170 that was
originally bound here
10-22 18:12:39.719: E/ActivityThread(716): android.app.ServiceConnectionLeaked: Service
com.android.exchange.ExchangeService has leaked ServiceConnection
com.android.emailcommon.service.ServiceProxy$ProxyConnection@40cee170 that was originally bound here