OssLicensesMenuActivity

public final class OssLicensesMenuActivity extends AppCompatActivity
implements LoaderCallbacks<List<License>>

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.

Inherited Constant Summary

Inherited Field Summary

Public Constructor Summary

Public Method Summary

Loader<List<License>>
onCreateLoader(int i, Bundle bundle)
void
void
onLoadFinished(Loader<List<License>> loader, List<License> licenses)
void
onLoaderReset(Loader<List<License>> loader)
boolean
static void

Protected Method Summary

void
onCreate(Bundle bundle)

Inherited Method Summary

Public Constructors

public OssLicensesMenuActivity ()

Public Methods

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

public void onDestroy ()

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

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

public boolean onOptionsItemSelected (MenuItem item)

public static void setActivityTitle (String title)

Sets the title for OssLicensesMenuActivity.

Parameters
title the title for this activity

Protected Methods

protected void onCreate (Bundle bundle)