i'm trying to develop an app thats reading excel file(.xlsx) to a ListView and i noticed that every time the rotation changes or if i change to night mode (or the opposite) the list view resets and starts to load the file again,
i know it related somehow to the lifecycle methods (onCreate, onDestroy...) and theres an option to save values with sheredPrefences but i can't save arrayAdapter or arrayList to sheredPrefences so what should i do to fix this?
(sorry for my english...)