java - Check for previous and next entry in SQLITE -
i have android application uses sqlite database. app has next , previous button view entries in database. need check whether or not next or previous entry exists way can disable button if 1 not exist.
run query ids of each record in table , cache this. know if there next or previous entries. click button, , app primary key lookup based on cached data.
Comments
Post a Comment