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