jfeinstein10 / SlidingMenu

An Android library that allows you to easily create applications with slide-in menus. You may use it in your Android apps provided that you cite this project and include the license in your app. Thanks!
Apache License 2.0
11.08k stars 5.05k forks source link

sliding menu is stuck while open and close. #599

Open kiranboghra opened 10 years ago

kiranboghra commented 10 years ago

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.

mjkohoh commented 10 years ago

did you open the hardwareAccelerated

kiranboghra commented 10 years ago

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 .

marcelotadeujr commented 10 years ago

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

Any suggestion?

Thanks.

Kilnn commented 10 years ago

@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 commented 10 years ago

@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

Kishanjvaghela commented 8 years ago

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

sm.setOnClosedListener(new SlidingMenu.OnClosedListener() {

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