// Get the launching intent
val intent = intent
- // Get the status of the third-party blocklist.
+ // Get the status of the third-party filter list.
val blockAllThirdPartyRequests = intent.getBooleanExtra(BLOCK_ALL_THIRD_PARTY_REQUESTS, false)
// Set the content view.
// Handle clicks on the spinner dropdown.
appBarSpinner.onItemSelectedListener = object : AdapterView.OnItemSelectedListener {
- override fun onItemSelected(parent: AdapterView<*>?, view: View, position: Int, id: Long) {
+ override fun onItemSelected(parent: AdapterView<*>?, view: View?, position: Int, id: Long) {
when (id.toInt()) {
0 -> {
// Get an adapter for all the requests.