添加左侧提示框回调

This commit is contained in:
tongchenfei
2020-10-28 16:21:46 +08:00
parent 3fb3fe93fd
commit 11177a7e99
4 changed files with 86 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
package com.mogo.service.windowview;
import android.view.View;
/**
* EntranceView状态监听
*
* @author tongchenfei
*/
public interface IMogoEntranceViewListener {
/**
* 新view展示
* 只针对左侧提示LeftNotice
* @param type 展示的类型
*/
void onViewAdded(int type);
/**
* view移除
* 只针对左侧提示LeftNotice
* @param type 移除的type
*/
void onViewRemoved(int type);
/**
* view添加动画开始之前
* @param view 添加的view
* @deprecated 暂时没用
*/
@Deprecated
void beforeViewAddAnim(View view);
/**
* view 移除动画开始之前
* @param view 移除的view
* @deprecated 暂时没用
*/
@Deprecated
void beforeViewRemoveAnim(View view);
}