1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| package com.lzf.easyfloat.interfaces
|
| import android.animation.Animator
| import android.view.View
| import android.view.WindowManager
| import com.lzf.easyfloat.enums.SidePattern
|
| /**
| * @author: liuzhenfeng
| * @function: 系统浮窗的出入动画
| * @date: 2019-07-22 16:40
| */
| interface OnFloatAnimator {
|
| fun enterAnim(
| view: View,
| params: WindowManager.LayoutParams,
| windowManager: WindowManager,
| sidePattern: SidePattern
| ): Animator? = null
|
| fun exitAnim(
| view: View,
| params: WindowManager.LayoutParams,
| windowManager: WindowManager,
| sidePattern: SidePattern
| ): Animator? = null
|
| }
|
|