This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
final Picasso picasso = Picasso.with(this); | |
LayoutInflater.Factory2 customInflaterFactory = new LayoutInflater.Factory2() { | |
@Override | |
public View onCreateView(View parent, String name, Context context, AttributeSet attrs) { | |
return onCreateView(name, context, attrs); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.mercury.monkeybutt.webviewintercept; | |
import android.annotation.TargetApi; | |
import android.os.Build; | |
import android.support.annotation.NonNull; | |
import android.support.v7.app.AppCompatActivity; | |
import android.os.Bundle; | |
import android.webkit.WebResourceRequest; | |
import android.webkit.WebResourceResponse; | |
import android.webkit.WebView; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
com.my.package.name.util; | |
import java.lang.reflect.InvocationHandler; | |
import java.lang.reflect.Method; | |
import java.lang.reflect.Proxy; | |
public class NullObject { | |
private static class NullInvocationHandler implements InvocationHandler { |
NewerOlder