摘要:
public class DataBaseContext { private static DataHelper dataHelper; private static Object INSTANCE_LOCK = new Object(); public static DataHelper getInstance(Context context) { synchronized (INSTANCE_LOCK) { if (dataHelper == null) { dataHelper ... 阅读全文