Giter VIP home page Giter VIP logo

android-icon-context-menu's People

Watchers

 avatar

android-icon-context-menu's Issues

sketch

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

Example project using your Icon Context Menu please

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

IconContextMenu

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

Tutorial Please

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.