mikepenz/Crossfader

Crossfader doesn't recreate state correctly after configuration change

Aperta

#18 aperta il 7 mag 2020

 (1 commento) (0 reazioni) (0 assegnatari)Java (21 fork)github user discovery
help wantedquestion

Metriche repository

Star
 (80 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Hi Mike,

Fist of all thanks for providing us such great libraries. Keep up the good work :)

In application that I am working on currently we are using your super cool solution MaterialDrawer with auto generated MiniDrawer. After some testing I noticed that content panel wasn't recreating as it should to.

Initial state for testing is opened Drawer and then change orientation. After recreation of activity content panel was shifted to the right even if withResizeContentPanel option was set on Crossfader builder.

Here you can look at demo code: link

Problem occurs on: Samsung S7 - android version 8.0, Android emulator Nexus 10 - android version 8.1, Android emulator Nexus 10 - android version 10.

Used latest Crossfader library version 1.6.0 Followed sample and instructions on MaterialDrawer

Sorry for bad English,

Cheers :)

Guida contributor