Yanzhikai
Yanzhikai
增加sample里面申请动态权限
``` Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window android.app.Activity.getWindow()' on a null object reference at com.wizchen.topmessage.TopMessage.createView(TopMessage.java:108) at com.wizchen.topmessage.TopMessageManager.showWarning(TopMessageManager.java:362) at com.wizchen.topmessage.TopMessageManager.showWarning(TopMessageManager.java:278) at com.wizchen.topmessage.TopMessageManager.showWarning(TopMessageManager.java:267) ```
Is there something different between them? For example,this is a method in AlexaManager.java of the Demo: ``` public void sendPlaybackStartedEvent(AvsItem item, long milliseconds, final AsyncCallback callback); ``` And the in...
个人感觉,如果把EmptyLayout作为根View是不是对原来的布局代码影响太大?只是把它做成一个遮罩层不是更加方便吗?