Code example for GestureLibrary

Methods: save, removeGesture

0
mCurrentRenameGesture = null;
    } 
 
    private void deleteGesture(NamedGesture gesture) {
        sStore.removeGesture(gesture.name, gesture.gesture);
        sStore.save();
 
        final GesturesAdapter adapter = mAdapter;
        adapter.setNotifyOnChange(false);
        adapter.remove(gesture);
        adapter.sort(mSorter);
        checkForEmpty(); 
        adapter.notifyDataSetChanged();
 
        Toast.makeText(this, "Gesture deleted !", Toast.LENGTH_SHORT).show();
    } 
 
    private class GesturesLoadTask extends AsyncTask<Void, NamedGesture, Integer> {
        private int mThumbnailSize;
Stop searching for code, let great code find you!  Add Codota to your java IDE