문제

^Question^

I think that it would be too complex to open a database. Does using shared preferences make my app's data size become big. Is there a temporary storage place for my data or should I delete the data in the shared preferences for that widget.

Short code samples are very appreciated :)

Thank you

도움이 되었습니까?

해결책

It looks like it doesn't really take a lot of space :) I tested with 14 widgets on the home screen with different combinations of my big data. Only about 4KB after testing for a month while adding and replacing widgets. Should be no problem!

If smith posts his comment as an answer, i will mark him as correct

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top