forked from wsj1024/FengYunWeather
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
wsj1024
committed
Jul 31, 2021
1 parent
eb4952b
commit 38d8005
Showing
4 changed files
with
37 additions
and
39 deletions.
There are no files selected for viewing
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
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package me.wsj.fengyun.ui.base | ||
|
||
import android.content.Intent | ||
import androidx.viewbinding.ViewBinding | ||
|
||
/** | ||
* Created by shiju.wang on 2018/2/10. | ||
*/ | ||
interface CreateInit<T : ViewBinding?> { | ||
fun bindView(): T | ||
|
||
/** | ||
* 接收数据 | ||
* @param intent | ||
*/ | ||
fun prepareData(intent: Intent?) | ||
|
||
/** | ||
* 初始化布局组件 | ||
*/ | ||
fun initView() | ||
|
||
/** | ||
* 处理事件 | ||
*/ | ||
fun initEvent() | ||
|
||
/** | ||
* 初始化数据 | ||
*/ | ||
fun initData() | ||
} |