Android App Development Tutorial Step14 (Custom Dialog & data saving)

preview_player
Показать описание
1. Custom Dialog
- Initialize a dialog by LayoutInflater
- AlertDialog.Builder: setTitle, setView, setPositiveButton
and setNagativeButton

2. Save input data into a database
- getCheckedRadioButtonId
- DBHelper's geWritableDatabase
- execSQL

3. Update list
- notifyDataSetChanged()
Рекомендации по теме
join shbcf.ru