extra android q Flashcards
onDowngrade()
if version is newer version is lower than old versiondrop table statement, onCreate()
onDowngrade()
if version is newer version is lower than old versiondrop table statement, onCreate()
getColumnIndex(“Name”)
Find the column index
getString(int colIndex) / getInt(int colIndex)
Return the string, int, long, from that column.
moveToFirst()
Moves to the first database result
next()
moves to the next row of results
isAfterLast()
tells you if you’re past the last row of results.
SharedPreferences gets saved by
commit()
Database ContentValues get saved by
insert()
Dialog get shown by
build() -> show()
Toast get shown by
show()
ADD ** In Layout
Toolbar
API goes ??? with more features
Higher
A parameter includes :
icon, orderInCateogry, layout_height
Tag names are always the *** ones
First
Strings to override go in a **
subfolder
Bundles have ** pairs
keyValue
If put string and get string don’t match you get a:
0
default value
BaseAdapter:
getCount-> #
getItem(int i)->String i
getView(int i, view v, null)->inflate view
View v is *** off the page, passed in again to reuse memory
recycled