refactor: hide backend Adapter handles
- static methods for backend adapters
This commit is contained in:
@@ -27,7 +27,7 @@ public class AndroidAssets extends AssetAdapter {
|
||||
Context mContext;
|
||||
|
||||
public static void init(Context ctx) {
|
||||
g = new AndroidAssets(ctx);
|
||||
AssetAdapter.init(new AndroidAssets(ctx));
|
||||
}
|
||||
|
||||
private AndroidAssets(Context ctx) {
|
||||
|
||||
Reference in New Issue
Block a user