Skip to content

Commit 4eee684

Browse files
author
shaohui10086
committed
release 1.1.1
1 parent 46bdebd commit 4eee684

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.idea/misc.xml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bottomdialog/src/main/java/me/shaohui/bottomdialog/BaseBottomDialog.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
* Created by shaohui on 16/10/11.
55
*/
66

7-
import android.app.DialogFragment;
8-
import android.app.FragmentManager;
97
import android.os.Bundle;
108
import android.support.annotation.LayoutRes;
9+
import android.support.v4.app.DialogFragment;
10+
import android.support.v4.app.FragmentManager;
1111
import android.view.Gravity;
1212
import android.view.LayoutInflater;
1313
import android.view.View;

bottomdialog/src/main/java/me/shaohui/bottomdialog/BottomDialog.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package me.shaohui.bottomdialog;
22

3-
import android.app.FragmentManager;
43
import android.os.Bundle;
54
import android.support.annotation.LayoutRes;
5+
import android.support.v4.app.FragmentManager;
66
import android.view.View;
77

88
/**

example/src/main/java/me/shaohui/bottomdialogexample/MainActivity.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ public void onClick(View v) {
2626

2727
private void shareDialog() {
2828
ShareBottomDialog dialog = new ShareBottomDialog();
29-
dialog.show(getFragmentManager());
29+
dialog.show(getSupportFragmentManager());
3030
}
3131

3232
private void showDialog() {
33-
BottomDialog.create(getFragmentManager())
33+
BottomDialog.create(getSupportFragmentManager())
3434
.setViewListener(new BottomDialog.ViewListener() {
3535
@Override
3636
public void bindView(View v) {

0 commit comments

Comments
 (0)