Эх сурвалжийг харах

added bundle and activity to dictionary

Simon Hammer 4 жил өмнө
parent
commit
83576f5847
1 өөрчлөгдсөн 8 нэмэгдсэн , 1 устгасан
  1. 8 1
      diary/dictionary.tex

+ 8 - 1
diary/dictionary.tex

@@ -65,9 +65,16 @@ includeheadfoot}
 application programming interface (API)\\
 Android Native Development Kit (NDK) \\
 Application Binary Interface (ABI) \\
-Java Native Interface (JNI)
+Java Native Interface (JNI) \\
 
+Activity
+An activity is a single, focused thing that the user can do.
+Almost all activities interact with the user, so the Activity class takes care of creating a window for you in which you can place your UI with setContentView(View)
 
+Bundle
+Bundle is used to pass data between Activities.
+You can create a bundle, pass it to Intent that starts the activity which then can be used from the destination activity.
+Bundle:- A mapping from String values to various Parcelable types. Bundle is generally used for passing data between various activities of android.