toggle menu
mvvmframe
androidJvm
switch theme
mvvmframe
com.
king.
frame.
mvvmframe.
base
Base
Activity
Base
Android
View
Model
Base
Application
Companion
Base
Dialog
Fragment
Base
Fragment
Base
Progress
Dialog
Base
View
Model
Companion
Content
Activity
IView
com.
king.
frame.
mvvmframe.
base.
controller
Combined
Controller
Controller
Default
Combined
Controller
Default
Dialog
Controller
Default
Loading
Controller
Default
Toast
Controller
Dialog
Controller
Loading
Controller
Toast
Controller
com.
king.
frame.
mvvmframe.
config
Applies
Options
Config
Options
Gson
Options
Ok
Http
Client
Options
Retrofit
Options
Room
Database
Options
Config
Builder
Companion
Frame
Config
Module
Manifest
Parser
Companion
com.
king.
frame.
mvvmframe.
data
Data
Repository
Repository
com.
king.
frame.
mvvmframe.
data.
datasource
Data
Source
Default
Data
Source
Companion
com.
king.
frame.
mvvmframe.
di.
module
Config
Module
Builder
Data
Source
Module
Http
Module
Repository
Module
mvvmframe
/
com.king.frame.mvvmframe.base.controller
/
DefaultDialogController
Default
Dialog
Controller
class
DefaultDialogController
(
context
:
Context
)
:
DialogController
对话框控制器
Author
Jenly
Follow me
Members
Constructors
Default
Dialog
Controller
Link copied to clipboard
constructor
(
context
:
Context
)
Functions
dismiss
Dialog
Link copied to clipboard
open
override
fun
dismissDialog
(
)
open
override
fun
dismissDialog
(
dialog
:
Dialog
?
)
关闭对话框
dismiss
Progress
Dialog
Link copied to clipboard
open
override
fun
dismissProgressDialog
(
)
关闭进度对话框
on
State
Changed
Link copied to clipboard
open
override
fun
onStateChanged
(
source
:
LifecycleOwner
,
event
:
Lifecycle.Event
)
set
Window
Link copied to clipboard
open
override
fun
setWindow
(
window
:
Window
?
,
gravity
:
Int
,
widthRatio
:
Float
,
x
:
Int
,
y
:
Int
,
horizontalMargin
:
Float
,
verticalMargin
:
Float
,
horizontalWeight
:
Float
,
verticalWeight
:
Float
)
设置 Window 布局相关参数
show
Dialog
Link copied to clipboard
open
override
fun
showDialog
(
contentView
:
View
,
@
StyleRes
styleId
:
Int
,
gravity
:
Int
,
widthRatio
:
Float
,
x
:
Int
,
y
:
Int
,
horizontalMargin
:
Float
,
verticalMargin
:
Float
,
horizontalWeight
:
Float
,
verticalWeight
:
Float
,
backCancel
:
Boolean
)
显示对话框
show
Progress
Dialog
Link copied to clipboard
open
override
fun
showProgressDialog
(
layoutId
:
Int
,
cancel
:
Boolean
)
显示进度对话框