android-msdk icon indicating copy to clipboard operation
android-msdk copied to clipboard

Make bottom sheet fragment not dismiss when user touches outside the dialog

Open raheemadamboev opened this issue 5 years ago • 4 comments

Please enable making bottomsheet full screen or not dismiss when user touches outside the dialog. Because if user accidentally touch outside the dialog bottomsheet dismisses and data lost.

raheemadamboev avatar Oct 28 '20 11:10 raheemadamboev

ClickMerchant.init(supportFragmentManager, config, new ClickMerchantListener { @Override void onRequestIdGet(String requestId) {

            }

            @Override 
            void onFailure() {
   
            }

            @Override
            void onSuccess(Long paymentId) {

            }
            
            @Override
            void onInvoiceCancelled() {

            }
            
        }

)

Islomov49 avatar Oct 28 '20 13:10 Islomov49

you must temporarily save the requestId, if you give the same requestId before reopening, then it will continue where it left off. An example Project you can see how to do it

Islomov49 avatar Oct 28 '20 13:10 Islomov49

Ok, let's add that soon. It will be possible to customize

Islomov49 avatar Oct 28 '20 13:10 Islomov49

you must temporarily save the requestId, if you give the same requestId before reopening, then it will continue where it left off. An example Project you can see how to do it

Thanks now I understand and I did it too

raheemadamboev avatar Oct 28 '20 17:10 raheemadamboev