-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
后台弹窗
new XPopup.Builder(getContext())
.enableShowWhenAppBackground(true) //允许在应用后台弹出
.asConfirm("XPopup牛逼", "XPopup支持直接在后台弹出!", new OnConfirmListener(){
@OverRide
public void onConfirm() {
startActivity(new Intent(getContext(), MainActivity.class));
}
}).show();
这种方式如果只有进程没有页面的情况下,如何显示弹窗呢,比如我在application或者service中去弹窗,应该如何做到呢
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels