kisese / android-icon-context-menu Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/android-icon-context-menu
Automatically exported from code.google.com/p/android-icon-context-menu
how I can obtain this library?
Original issue reported on code.google.com by [email protected]
on 5 Feb 2013 at 4:18
I found this sketch on internet:
http://yuku-android-util.googlecode.com/git-history/57533cf4a5f1efd720942b654e14
6682950ec451/IconContextMenuDicoba/src/yuku/iconcontextmenu/test/IconContextMenu
DicobaActivity.java
package yuku.iconcontextmenu.test;
import yuku.iconcontextmenu.*;
import yuku.iconcontextmenu.IconContextMenu.IconContextItemSelectedListener;
import android.app.Activity;
import android.content.*;
import android.content.DialogInterface.OnCancelListener;
import android.content.DialogInterface.OnDismissListener;
import android.os.Bundle;
import android.view.*;
import android.widget.Toast;
public class IconContextMenuDicobaActivity extends Activity implements
IconContextItemSelectedListener, OnCancelListener, OnDismissListener {
private IconContextMenu iconContextMenu = null;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
public void bDemo1_click(View v) {
initContextMenu();
iconContextMenu.setInfo(v);
iconContextMenu.show();
}
private void initContextMenu() {
if (iconContextMenu == null) {
iconContextMenu = new IconContextMenu(this, R.menu.demo);
iconContextMenu.setTitle("See the icons?! Nice?");
iconContextMenu.setOnIconContextItemSelectedListener(this);
iconContextMenu.setOnCancelListener(this);
iconContextMenu.setOnDismissListener(this);
}
}
@Override
public void onIconContextItemSelected(MenuItem item, Object info) {
Toast.makeText(this, "menuItem: " + item + " info: " + info, Toast.LENGTH_SHORT).show();
}
@Override
public void onDismiss(DialogInterface dialog) {
Toast.makeText(this, "onDismiss", Toast.LENGTH_SHORT).show();
}
@Override
public void onCancel(DialogInterface dialog) {
Toast.makeText(this, "onCancel", Toast.LENGTH_SHORT).show();
}
}
Original issue reported on code.google.com by [email protected]
on 11 Feb 2012 at 6:48
As a newbie getting to grips with my first project I could really do with a
small example project that uses you Icon Context Menu. I have managed to
integrate it into my project but can't add the handler due to lack of
experience.
Regards
Bill Bostock
Original issue reported on code.google.com by [email protected]
on 31 Mar 2011 at 2:35
What steps will reproduce the problem?
1. Imported the project.
2. Add the library to my project
3. Try to use library.
I can't create a variable of "IconContextMenu" type. Does not appear in list of
possible types.
Original issue reported on code.google.com by [email protected]
on 28 Mar 2011 at 5:57
Hello,
please give us some sample Android application for understand
the use of your interesting library
Mirko Ugolini
Original issue reported on code.google.com by [email protected]
on 10 Feb 2012 at 10:35
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.