Skip to content

PLibSettingsActivity

Victor Bieszka edited this page Mar 18, 2019 · 1 revision

Class PLibSettingsActivity

public final class PLibSettingsActivity
extends android.support.v7.app.AppCompatActivity
This class represents the plib user interface. This class is a classical Android-Activity-class. In order to connect the plib ui into an app, the following call has to be done (e.g., from the app's settings, this represents the class of the app ui, typically an Activity):

startActivity(new Intent(this, PLibSettingsActivity.class));

Constructor Summary

 
Constructor and Description
PLibSettingsActivity() 

Method Summary

    
Modifier and Type Method and Description
boolean onCreateOptionsMenu(android.view.Menu menu) 
boolean onOptionsItemSelected(android.view.MenuItem item) 
static void showPlibUi(android.app.Activity activity)
Opens the plib ui.

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait

Constructor Detail

PLibSettingsActivity

public PLibSettingsActivity()

Method Detail

  • showPlibUi

    public static void showPlibUi(android.app.Activity activity)
    Opens the plib ui.
    Parameters:
    activity - an UI in form of a source Activity.
  • onCreateOptionsMenu

    public boolean onCreateOptionsMenu(android.view.Menu menu)
    Overrides:
    onCreateOptionsMenu in class android.app.Activity
  • onOptionsItemSelected

    public boolean onOptionsItemSelected(android.view.MenuItem item)
    Overrides:
    onOptionsItemSelected in class android.app.Activity