Example usage for android.view ContextMenu.ContextMenuInfo toString

List of usage examples for android.view ContextMenu.ContextMenuInfo toString

Introduction

In this page you can find the example usage for android.view ContextMenu.ContextMenuInfo toString.

Prototype

public String toString() 

Source Link

Document

Returns a string representation of the object.

Usage

From source file:net.gerosyab.dailylog.activity.MainActivity.java

@Override
public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) {
    super.onCreateContextMenu(menu, v, menuInfo);
    MyLog.d(LOG_TAG, "onCreateContextMenu() - menuInfo : " + menuInfo.toString());
    MenuInflater inflater = getMenuInflater();
    inflater.inflate(R.menu.menu_context, menu);
}