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

Показать описание
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()
- 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()