Пример #1
0
  @Override
  public void onDestroy() {
    super.onDestroy();

    shaderView.renderer.errorListener = null;
    shaderView.renderer.fpsListener = null;

    // close cursor
    if (adapter != null) adapter.changeCursor(null);
  }
Пример #2
0
 private void updateAdapter() {
   adapter.changeCursor(dataSource.queryAll());
   resetFps();
 }