public static IPackageVerificationDataSource GetInstance(Context context) { if (sInstance == null) { sInstance = new SharedPrefsPackageVerificationRepository( context.ApplicationContext); } return(sInstance); }
public static IPackageVerificationDataSource GetInstance() { return(sInstance ?? (sInstance = new SharedPrefsPackageVerificationRepository())); }