ZDfordream / dialogfragment

使用EasyDialogFragment来管理对话框,当旋转屏幕和按下后退键时可以更好的管理其声明周期,它和Fragment有着基本一致的声明周期。此库实现了dialogment滑动或拖拽使得dialog消失,非常实用

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EasyDialogFragment

使用

dependencies {
     compile 'com.zhudong:EasyDialogFragment:1.0.0'
}
用法很简单,将集成DialogFragment替换成DragAwayDialogFragment或SwipeAwayDialogFragment

开源许可 Hex.pm

Copyright 2017 zhudong

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


About

使用EasyDialogFragment来管理对话框,当旋转屏幕和按下后退键时可以更好的管理其声明周期,它和Fragment有着基本一致的声明周期。此库实现了dialogment滑动或拖拽使得dialog消失,非常实用


Languages

Language:Java 100.0%