Skip to content

Commit

Permalink
Release 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PatilShreyas committed Jun 10, 2019
1 parent 94b8481 commit 6e3a304
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RestrictTo;

import com.airbnb.lottie.LottieAnimationView;
import com.google.android.material.button.MaterialButton;
Expand All @@ -20,7 +19,6 @@
import com.shreyaspatil.MaterialDialog.interfaces.OnShowListener;
import com.shreyaspatil.MaterialDialog.model.DialogButton;

@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
public class AbstractDialog implements DialogInterface {

//Constants
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies {
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'

// Material Dialog Library
implementation 'com.shreyaspatil:MaterialDialog:1.0'
implementation 'com.shreyaspatil:MaterialDialog:1.0.0'

// Material Design Library
implementation 'com.google.android.material:material:1.0.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,15 @@ public class MainActivity extends AppCompatActivity implements View.OnClickListe
private BottomSheetMaterialDialog mSimpleBottomSheetDialog;
private BottomSheetMaterialDialog mAnimatedBottomSheetDialog;

private Button mButtonSimpleDialog;
private Button mButtonAnimatedDialog;
private Button mButtonBottomSheetDialog;
private Button mButtonAnimatedBottomSheetDialog;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

mButtonSimpleDialog = findViewById(R.id.button_simple_dialog);
mButtonAnimatedDialog = findViewById(R.id.button_animated_dialog);
mButtonBottomSheetDialog = findViewById(R.id.button_simple_bottomsheet_dialog);
mButtonAnimatedBottomSheetDialog = findViewById(R.id.button_animated_bottomsheet_dialog);
Button mButtonSimpleDialog = findViewById(R.id.button_simple_dialog);
Button mButtonAnimatedDialog = findViewById(R.id.button_animated_dialog);
Button mButtonBottomSheetDialog = findViewById(R.id.button_simple_bottomsheet_dialog);
Button mButtonAnimatedBottomSheetDialog = findViewById(R.id.button_animated_bottomsheet_dialog);

// Simple Material Dialog
mSimpleDialog = new MaterialDialog.Builder(this)
Expand Down

0 comments on commit 6e3a304

Please sign in to comment.