bluelinelabs / Conductor

A small, yet full-featured framework that allows building View-based Android applications
Apache License 2.0
3.9k stars 343 forks source link

do not load controller when switch theme #654

Closed iranandroid closed 1 year ago

iranandroid commented 2 years ago

Hi every one I use this library in my application, but when change UI to dark theme current controller not loaded and just fire activity onCreateView method.

how to save state current controller when switch between dark mode and light mode?

EricKuck commented 2 years ago

I'm not sure I understand the question. Are you saying the Activity isn't being recreated?

iranandroid commented 2 years ago

I'm not sure I understand the question. Are you saying the Activity isn't being recreated?

Hi @EricKuck when switch dark/light mode, Activity recreated but current controller not load and activity show empty view(because not load contoller)