Android and Kotlin
ViewBinding and Fragments
Kotlin Language
Google Maps
Miscellaneous
100

This tool allows you to view, copy and delete files on an Android Device.

What is Device File Explorer?

100

When an activity that holds Fragment1 and Fragment2, how does Fragment1 communicates with Fragment2.

What is through the activity?

100

The equivalent of a switch statement in Java.

What is when?

100

A key that is a fingerprint that gives a unique identity of your application

What is a SHA1 key?

100

This folder holds files to be used for your app and preserves file name.

What is the assets folder?

200

A Kotlin keyword that allows you to declare a non nullable variable without having to assign it on the same line.

What is lateinit?

200

Code added to the gradle to allow for viewBinding

What is 

buildFeatures {

viewBinding = true

}?

200

How to declare an Integer variable named i to a value of 3 where i may be null. 

What is var i:Int? = 3

200

The three permissions in the Android Manifest file that allows for LocationServices.

What is ACCESS_FINE_LOCATION, ACCESS_CORSE_LOCATION and ACCESS_BACKGROUND_LOCATION?

200

This is used to save data in key value pairs between instances of program execution

What is Shared Preference?

300

The code used when setting a companion object variable x in the MainActivity to 1 from within a SecondActivity.

What is MainActivity.x = 1?

300

The Fragment Lifecycle where the views get inflated into memory.

What is onCreateView?

300

This operator throws an exception when accessing a member of a null reference.

What is !!

300

When using location services with Google Maps fragment, this callback function in the MapFragment is where you would determine your last known location.

What is onMapReadyCallback?

300

We used this JSON library by Google.

What is GSON?

400

The typical activity that we have been using in Android Studio.

What is empty views activity?

400

In viewBinding, after the variable binding is declared (below), the way to refer to a TextView with a resource id defined as R.id.textView_name

lateinit var binding:ActivityMainBinding

What is binding.textViewName

400

These keywords matches the semantics of a Java static initializer

What is companion object

400

This client exposes the Places API methods.

What is a PlacesClient?

400

This is used for passing data from one activity to another

What is a Bundle?

500

The file that contains essential information about the app such as activities, permissions and which devices may install the app

What is the android manifest file

500

The code used to call a function in the MainActivity named updateData() from a fragment.

What is (activity as MainActivity).updateData()?

500

This class main purpose is to hold data for streaming.

What is a data class?

500

The process of taking a LatLng position and translating it into an address.

What is reverse geocoding?

500

The default directory which your app uses.

What is data/data/packagename?