清除全部的數據 spa
sp = getSharedPreferences("config", Context.CONTEXT_RESTRICTED); rem
editor.commit(); get
=============================== it
清除一條數據 數據
sp.edit().remove(key).commit(); di