Java Code Examples for com.taobao.weex.WXSDKEngine#getIWXStorageAdapter()

The following examples show how to use com.taobao.weex.WXSDKEngine#getIWXStorageAdapter() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: WXStorageModule.java    From ucar-weex-core with Apache License 2.0 5 votes vote down vote up
private IWXStorageAdapter ability() {
    if (mStorageAdapter != null) {
        return mStorageAdapter;
    }
    mStorageAdapter = WXSDKEngine.getIWXStorageAdapter();
    return mStorageAdapter;
}
 
Example 2
Source File: WXStorageModule.java    From weex-uikit with MIT License 5 votes vote down vote up
private IWXStorageAdapter ability() {
    if (mStorageAdapter != null) {
        return mStorageAdapter;
    }
    mStorageAdapter = WXSDKEngine.getIWXStorageAdapter();
    return mStorageAdapter;
}
 
Example 3
Source File: StorageHacker.java    From analyzer-of-android-for-Apache-Weex with Apache License 2.0 5 votes vote down vote up
StorageHacker(@NonNull Context context, boolean isDebug) {
    mStorageAdapter = WXSDKEngine.getIWXStorageAdapter();
    if (!(context instanceof Application)) {
        context = context.getApplicationContext();
    }
    this.mContext = context;
    this.isDebug = isDebug;
}