Swipe-To-Dismiss-Dialog
Swipe-To-Dismiss-Dialog copied to clipboard
Android library which can turn any View into a draggable dialog with swipe to dismiss feature.
I am just trying to get an image from Url into the swipable dialog but is there any way I can do it?
As I was working on androidx , I was continuously getting the error mentioned above and as soon as I started working on android libraries everything was working fine but...
**Current behavior** * open swipe dlg. * tap outside, dlg will be canceled. * swipe to cancel **Expected behavior** * export an option for cancelOnOutSideTouch, like normal alertDlialog. * export...
final SwipeDismissDialog swipeDismissDialog = new SwipeDismissDialog.Builder(this) .setLayoutResId(R.layout.dialog_add_user) .build() .show(); final EditText usernameEditText = (EditText) swipeDismissDialog.findViewById(R.id.et_username); swipeDismissDialog.setOnKeyListener(new View.OnKeyListener() { @Override public boolean onKey(View v, int keyCode, KeyEvent event) { EditText username...
Exception shown when try to create dialog from service: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application