public final class

OssLicensesMenuActivity

extends AppCompatActivity
implements LoaderCallbacks<List<License>>
java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.view.ContextThemeWrapper
         ↳ android.app.Activity
           ↳ android.support.v4.app.SupportActivity
             ↳ android.support.v4.app.FragmentActivity
               ↳ android.support.v7.app.AppCompatActivity
                 ↳ com.google.android.gms.oss.licenses.OssLicensesMenuActivity

Class Overview

An Activity used to display a list of all third party licenses in res/raw/third_party_license_metadata generated by oss licenses gradle plugin. Click on each item of the list would invoke OssLicensesActivity to show the actual content of the license.

Summary

[Expand]
Inherited Constants
From class android.app.Activity
From class android.content.Context
From interface android.content.ComponentCallbacks2
[Expand]
Inherited Fields
From class android.app.Activity
Public Constructors
OssLicensesMenuActivity()
Public Methods
Loader<List<License>> onCreateLoader(int i, Bundle bundle)
void onDestroy()
void onLoadFinished(Loader<List<License>> loader, List<License> licenses)
void onLoaderReset(Loader<List<License>> loader)
boolean onOptionsItemSelected(MenuItem item)
Protected Methods
void onCreate(Bundle bundle)
[Expand]
Inherited Methods
From class android.support.v7.app.AppCompatActivity
From class android.support.v4.app.FragmentActivity
From class android.support.v4.app.SupportActivity
From class android.app.Activity
From class android.view.ContextThemeWrapper
From class android.content.ContextWrapper
From class android.content.Context
From class java.lang.Object
From interface android.support.v7.app.AppCompatCallback
From interface android.support.v4.app.TaskStackBuilder.SupportParentable
From interface android.support.v7.app.ActionBarDrawerToggle.DelegateProvider
From interface android.support.v4.app.ActivityCompat.OnRequestPermissionsResultCallback
From interface android.support.v4.app.ActivityCompatApi23.RequestPermissionsRequestCodeValidator
From interface android.view.LayoutInflater.Factory2
From interface android.view.Window.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.View.OnCreateContextMenuListener
From interface android.content.ComponentCallbacks2
From interface android.support.v4.app.LoaderManager.LoaderCallbacks
From interface android.view.LayoutInflater.Factory
From interface android.content.ComponentCallbacks

Public Constructors

public OssLicensesMenuActivity ()

Public Methods

public Loader<List<License>> onCreateLoader (int i, Bundle bundle)

Parameters
i int
bundle Bundle
Returns
Loader<List<License>>

public void onDestroy ()

public void onLoadFinished (Loader<List<License>> loader, List<License> licenses)

Parameters
loader Loader
licenses List

public void onLoaderReset (Loader<List<License>> loader)

Parameters
loader Loader

public boolean onOptionsItemSelected (MenuItem item)

Parameters
item MenuItem
Returns
boolean

Protected Methods

protected void onCreate (Bundle bundle)

Parameters
bundle Bundle