SlidingMenu icon indicating copy to clipboard operation
SlidingMenu copied to clipboard

sliding menu is stuck while open and close.

Open kiranboghra opened this issue 11 years ago • 6 comments

I have use this nice library in my project but is stuck while opening and closing menu So please help if any one face this issue and solved. And when I only open and close menu without refresh fragment view its work perfact and not stuck.

kiranboghra avatar Feb 17 '14 12:02 kiranboghra

did you open the hardwareAccelerated

mjkohoh avatar Mar 01 '14 02:03 mjkohoh

Yes I have open the hardwareAccelerated but it stucks. My problem is when I close menu and refresh Fragment than only stuck if I close menu without refresh Fragment than is is not stuck .

kiranboghra avatar Mar 03 '14 06:03 kiranboghra

@kiranboghra i have same trouble and cannot solve then...

Any suggestion?

Thanks.

marcelotadeujr avatar Mar 27 '14 18:03 marcelotadeujr

@kiranboghra I have the same problem with you. And i also open the hardwareAccelerated,but it only work on smooth scroll . when i call the method showMenu(), there is a white line flash,and then ,scroll Have you solved the problem,please tell me,thanks very much

Kilnn avatar May 05 '14 08:05 Kilnn

@kiranboghra @BM9MobileBrasil
I add this code in my only activity which extends the SlidingFragmentActivity: getWindow().getDecorView().setBackgroundResource(android.R.color.transparent); There is a little effect. You can have a try

Kilnn avatar May 06 '14 02:05 Kilnn

Change Fragment while menu drawer is closed, rather than view is sliding.

sm.setOnClosedListener(new SlidingMenu.OnClosedListener() {

        @Override
        public void onClosed() {
            changeFragment(selectedPosition);
        }
    });

Kishanjvaghela avatar Nov 10 '15 10:11 Kishanjvaghela