Multiple Choice Quiz App with SQLite Integration Part 10 - SELECT DIFFICULTY - Android Tutorial
Автор: Coding in Flow
Загружено: 2018-03-22
Просмотров: 27169
Описание:
In part 10 of the SQLite quiz tutorial, we will add a spinner to our starting screen, where the user can then select between the different difficulty levels. We will send the selection as an intent extra to our quiz activity and from there call our getQuestion method and pass the selected difficulty as a string argument to it. The rawQuery in our OpenDbHelper class will then use this string as the selectionArgs input for the WHERE selection. This way the cursor will only retrieve the table entries that fit to the difficulty level the user picked on the starting screen.
Watch the whole playlist:
• Плейлист
Example code for this part:
https://gist.github.com/codinginflow/...
____________________
💻 Find the BEST programming tutorials on TutHub:
https://tuthub.io
⭐ Get my MVVM Caching Course now:
https://codinginflow.com/caching
❗ Subscribe to the channel:
/ codinginflo. .
📨 Subscribe to the Coding in Flow newsletter:
https://codinginflow.com/newsletter
❓ Join our free developer community:
/ discord
📣 Follow Coding in Flow on other sites:
Facebook: / codinginflow
Instagram: / codinginflow
TikTok: / codinginflow
Twitter: / codinginflow
Github: https://github.com/codinginflow
💰 Business requests, sponsoring, etc.: [email protected]
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: