CS计算机代考程序代写 database 16/06/2021 FIT2081 Params Flashcards | Quizlet

16/06/2021 FIT2081 Params Flashcards | Quizlet
FIT2081 Params
Study
FIT2081 Params Terms in this set (92)
setContentView(arg1, arg2) View, ViewGroup.LayoutParams
startActivity(arg1, arg2) …
amsung教育商店 | 免費送貨
系列新產品都有優惠,你仲可以享有高達24個月免息分期!快啲登入 amsung教育商店選購啦!
intent.putExtra(arg1, arg2) String key, datatype data
Required method for onReceive Broadcast Receiver
onReceive(arg1, arg2) intent, bundle options
S

S
https://quizlet.com/412063431/fit2081-params-flash-cards/
1/9

16/06/2021 FIT2081 Params Flashcards | Quizlet
registerReceiver(myClass, new IntentFilter (type of intent passed), String key Study FIT2081 Params
arg1(arg2))
Getting data out of bundle String string = bundle.getString(Activity, String key)
b.setOnClickListener(new View.OnClickListener()… Button Handling 1 View.OnClickListener buttonHandler = new
View.OnClickListener()
Button Handling 2 b.setOnClickListener(buttonHandler)
SharedPreferences sP = String key, int mode getSharedPreferences(arg1,
arg2)
SharedPreferences sP = int mode getPreferences(arg1)
Editor SharedPreferences.Editor editor = sP.edit()
onCreateOptionsMenu(arg1) Menu menu – menu in which to place items
Menu Inflater MenuInflater inflater = getMenuInflater()
inflater.inflate(arg1, arg2) int menu item, menu
Snackbar.make(arg1, arg2, arg3) View, charsequence, int length
ActionBarDrawerToggle(arg1, arg3, arg3, arg4, arg5)
Activity, drawer, int drawerIndicater, int StringResourceDescribeOpenAction, int StringResourceDescribeCloseAction
https://quizlet.com/412063431/fit2081-params-flash-cards/
2/9

16/06/2021 FIT2081 Params Flashcards | Quizlet
drawer.openDrawn(left to Gravity.START Study FIT2081 Params
right)
drawer.openDrawn(right to Gravity.END left)
NavigationView name = int referenceToNavView findViewById(arg1)
etOnNavigationItemSelectedListener(arg1)NavigationView.OnNavigationItemSelected listener
onNavigationItemSelected(arg1) MenuItem item
Upgrade to remove adverts Only HK$26.67/month
ArrayAdapter(arg1, arg2, arg3, Context, int resourceToLayout, int IdOfTextView, list) arg4)
ArrayAdapter adapter Context, int resourceToLayout, list) = new ArrayAdapter
(arg1, arg2, arg3)
Method to notify the adapter adapter.notifyDataSetChanged() of a data change
listView.setAdapter(arg1) Adapter adapter
3 methods required by onCreateViewHolder, onBindViewHolder, RecyclerView.Adapter getItemCount()
s
https://quizlet.com/412063431/fit2081-params-flash-cards/
3/9

16/06/2021 FIT2081 Params Flashcards | Quizlet
onCreateViewHolder(arg1, ViewGroup viewAddedAfterBoundToAdapter, iSnttudy FIT2081 Params
arg2) viewType)
onBindViewHolder(arg1, arg2)
ViewHolder contentsOfTheItemAtGivenPosition, int positionOfTimeInAdapterSet
Fragment onCreateView(arg1, arg2, arg3)
LayoutInflater inflater, ViewGroup container (parent view the fragment is attached to), Bundle instanceState)
return inflater.inflate(arg1, arg2, int fragment, declared container, false) arg3)
fragment.getArguments(arg1) bundle
Upgrade to remove adverts Only HK$26.67/month
rtFragmentManager.beginTransactio.n..()
.add(arg1, arg2, arg3) int containerViewId, Fragment fragment, String tag
.replace(arg1, arg2, arg3) int containerViewId, Fragment fragment, String tag)
.remove(arg1) Fragment fragment
SQLiteHelper constructor(arg1, Context, String name,
arg2, arg3, arg4) SQLiteDatabase.CursorFactory factory, int version)
o
https://quizlet.com/412063431/fit2081-params-flash-cards/
4/9

16/06/2021 FIT2081 Params Flashcards | Quizlet
onCreate(arg1) SQLiteDatabase db Study FIT2081 Params
onCreate inclusive method db.execSQL(TASKS_TABLE_CREATE)
onUpgrade/onDowngrade(arg1, SQLiteDatabase db, int oldVersion, int newVersion arg2, arg3
db.insert(arg1, arg2, arg3)
String tableName, String nullColumnHack, ContentValues toBeInserted
Initialise ContentValues ContentValues values = new ContentValues()
Upgrade to remove adverts Only HK$26.67/month
db.delete(arg1, arg2, arg3)
String tableName, string whereClause, String[] WhereArgs)
db.update(arg1, arg2, arg3, String tableName, ContentValue values, String arg4) whereClause, String[] whereArgs
addTask(arg1) ContentValues values
what does public Cursor return tasks getAllTasks() return
deleteTask(arg1) returns what int taskID returns boolean
https://quizlet.com/412063431/fit2081-params-flash-cards/
5/9

16/06/2021 FIT2081 Params Flashcards | Quizlet
CursorAdapter cursoradapter = Context context, Cursor c Study FIT2081 Params
newCursorAdapter(arg1, arg2)
2 methods required by newView, bindView CursorAdapter
newView(arg1, arg2, arg3) Context, Cursor c, ViewGroup parent)
bindView(arg1, arg2, arg3) View view, content, cursor c
getView(arg1, arg2, arg3) int position, View view, ViewGroup parent)
Upgrade to remove adverts Only HK$26.67/month
CursorLoader name = new CursorLoader(arg1, arg2, arg3, arg4, arg5, arg6)
Content, URI, String[] projection, String selectionClause, String[] selectionArgs, string sortOrder
How to institue a Cursor LoaderManager.LoaderCallBacks
3 methods required by onCreateLoader, onLoadFinished, onLoadReset CursorLoader
onCreateLoader(arg1, arg2) int arg1, bundle bundle)
onLoadFinished(arg1, arg2) Loader loader, cursor c
onLoaderReset(arg1) Loader loader
https://quizlet.com/412063431/fit2081-params-flash-cards/
6/9

16/06/2021 FIT2081 Params Flashcards | Quizlet
baseReference mRef = – Study FIT2081 Params
ase.Database.getInstance().getReference
DatabaseReference mChild = – mRef.child(“name”) … mChild.push().insertValue(data)
Datasnapshot dataSnapshot.getValue()
ContentResolver resolver =
Fragment ContentResolver getActivity().getApplicationContext().getContentRe
solver()
resolver.insert(arg1, arg2) Uri, ContentValues
resolver.delete(arg1, arg2, arg3) Uri, String where, String[] selectionArgs
resolver.update(arg1, arg2, uri, ContentValues, String where, String[] arg3, arg4) selectionArgs
getType(arg1) uri
Cursor query(arg1, arg2, arg3, uri, String[] projection – list of columns to return, arg4) bundle queryArgs, cancellationsignal
notifyChange(arg1, arg2, arg3) uri, contentObserver observer, int flags
String authority – ip address/dns service, string path, addURI(arg1, arg2, arg3) int code – returned when uri is matched against
given.
private class MyTask extends arg1 passed to doInBackground, arg2 AsyncTask onProgressUpdate, arg3 onPostExecuted
b
https://quizlet.com/412063431/fit2081-params-flash-cards/
7/9

16/06/2021 FIT2081 Params Flashcards | Quizlet
doInBackground background thread Study FIT2081 Params
onProgressUpdate UI thread
onPostExecuted main thread
SupportMapFragment calls onMapReady() what?
onMapReady(arg1) GoogleMap googleMap
Map onCreateView(arg1, arg2, LayoutInflater, ViewGroup view, Bundle bundle) arg3)
– nt))getFragmentManager().findGragmentById(int
Geolocation –
LatLngMapPosition = new location.getLatitude(), location.getLongitude() LatLong(arg1, arg2)
getX() vs getRawX()
getX = coordinates relative to the view, getRawX = coordinates relative to the device.
onTouch(arg1, arg2) View v, motionEvent
onScroll(arg1, arg2, arg3, arg4) ME initial, ME finishing, float v1, float v2 returns returns ? super.
e
https://quizlet.com/412063431/fit2081-params-flash-cards/
8/9

16/06/2021 FIT2081 Params Flashcards | Quizlet
FIT2081 Params
ME initial, ME trigger, float velocityX, float velocStituydYy returns super.onFling(all)
onFling(arg1, arg2, arg3, arg4)
onDoubleTap(arg1) ME
onDoubleTapEvent(arg1) ME
onLongPress(arg1) ME
onSingleTap(arg1) ME
onSingleTapConfirmed(arg1) ME
onDown(arg1) ME
onScaleEnd(arg1) ScaleGestureDetector
onScale(arg1) ScaleGestureDetector
detector.getScaleFactor() –
https://quizlet.com/412063431/fit2081-params-flash-cards/
9/9