Rigth now every roster entry is kept only in database - this may slow down application and library. It may be worth to consider keeping roster in memory while application is running (application is in foreground) and release cache if application receives information about low memory or when is moved to background.
Rigth now every roster entry is kept only in database - this may slow down application and library. It may be worth to consider keeping roster in memory while application is running (application is in foreground) and release cache if application receives information about low memory or when is moved to background.
Same goes for list of chats and MUC rooms.