janishar / android-mvp-architecture

This repository contains a detailed sample app that implements MVP architecture using Dagger2, GreenDao, RxJava2, FastAndroidNetworking and PlaceholderView
https://janisharali.com
Apache License 2.0
4.44k stars 1.24k forks source link

Bug in drawer behavior in MainActivity #80

Open daniil-pastuhov opened 5 years ago

daniil-pastuhov commented 5 years ago

https://github.com/MindorksOpenSource/android-mvp-architecture/blob/88ea906d9b1cb0701bf5cf89acd5c44ef279d2cc/app/src/main/java/com/mindorks/framework/mvp/ui/main/MainActivity.java#L169-L174

The drawer shouldn't be unlocked whenever onResumed method is called.

Steps to reproduce:

  1. Open about from Hamburger menu
  2. Press system "Home" button
  3. Open recent apps and choose the App.
  4. The drawer is unlocked. Expected: should be locked.