package com.hdl.sdk.common;
|
|
import android.content.Context;
|
|
/**
|
* Created by Tong on 2021/9/28.
|
*/
|
public class HDLSdk {
|
|
private Context context;
|
|
private HDLSdk() {
|
}
|
|
private static class SingletonInstance {
|
private static final HDLSdk INSTANCE = new HDLSdk();
|
}
|
|
public static HDLSdk getInstance() {
|
return SingletonInstance.INSTANCE;
|
}
|
|
public void init(Context context) {
|
this.context = context.getApplicationContext();
|
}
|
|
public Context getContext() {
|
return context;
|
}
|
}
|