paranova
paranova

Reputation: 11

When should I prefer CursorAdapter over ArrayListAdapter, and when would it be the reverse?

In type of situations will the usage of CursorAdapter make more sense over ArrayListAdapter, and when would it be the reverse? The reasons may be performance wise, flexibility wise etc.

Upvotes: 0

Views: 37

Answers (1)

Munawwar Hussain Shelia
Munawwar Hussain Shelia

Reputation: 1364

cursor adpater when your source of data is from database and ArrayListAdapter when data extracted from data source is a simple list

Upvotes: 2

Related Questions