Skip to content

Commit

Permalink
1.0.1-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
zj565061763 committed Jun 12, 2018
1 parent 301082e commit 2e08627
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
![](http://thumbsnap.com/i/qNJUXTJN.gif?0607)

# Gradle
`implementation 'com.fanwe.android:dialoger:1.0.0'`
`implementation 'com.fanwe.android:dialoger:1.0.1-rc1'`

# 简单demo
```java
Expand Down Expand Up @@ -255,6 +255,8 @@ public interface Dialoger

Context getContext();

Activity getOwnerActivity();

/**
* 返回窗口的内容view
*
Expand Down
6 changes: 3 additions & 3 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ android {
defaultConfig {
minSdkVersion 15
targetSdkVersion 22
versionCode 20180611
versionName "1.0.0"
versionCode 20180612
versionName "1.0.1-rc1"
}

buildTypes {
Expand All @@ -28,7 +28,7 @@ publish {
groupId = 'com.fanwe.android'

artifactId = 'dialoger'
publishVersion = '1.0.0'
publishVersion = '1.0.1-rc1'
desc = 'android dialoger library'
website = 'https://github.com/zj565061763/dialoger'
}
Expand Down
3 changes: 3 additions & 0 deletions lib/src/main/java/com/fanwe/lib/dialoger/Dialoger.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
package com.fanwe.lib.dialoger;

import android.animation.Animator;
import android.app.Activity;
import android.content.Context;
import android.view.KeyEvent;
import android.view.MotionEvent;
Expand All @@ -32,6 +33,8 @@ public interface Dialoger

Context getContext();

Activity getOwnerActivity();

/**
* 返回窗口的内容view
*
Expand Down
6 changes: 6 additions & 0 deletions lib/src/main/java/com/fanwe/lib/dialoger/impl/FDialoger.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ public Context getContext()
return mActivity;
}

@Override
public Activity getOwnerActivity()
{
return mActivity;
}

@Override
public View getContentView()
{
Expand Down

0 comments on commit 2e08627

Please sign in to comment.