public void setPack(InstalledPack pack) { int index = mPackStore.getPackNames().indexOf(pack.getName()); if (index >= 0) { mPackStore.setSelectedIndex(index); mPackStore.save(); } }
public void remove(InstalledPack pack) { mPackStore.remove(pack.getName()); mPackStore.save(); }
public void put(InstalledPack pack) { mPackStore.put(pack); mPackStore.save(); pack.setRefreshListener(this); triggerUpdateListeners(pack); }
public void save() { mPackStore.save(); }