Giter Club home page Giter Club logo

refreshactionitem's People

Contributors

arturdryomov avatar hameno avatar intrications avatar manuelpeinado avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

refreshactionitem's Issues

Update ActionbarSherlock

Hi,
first: great library, thank you for your work.
Could you please update ABS to 4.3.1?

Thanks

Hameno

Need a package without support library included

Hi, it would be great if you could redistribute the package without the support library included and only referenced through Maven. As is today, it generates conflicts with other packages that uses this support library (in gradle builds).

ShowBadge generates FrameLayoutes indefinitely

Everytime I use showBadge(String text) it places FrameLayout inside of FrameLayout leading eventually to StackOverflow error. You can confirm it with HierarchyViewer tool. Potential fix is to remove all views before adding new views in BadgeView class like that: (untested with other methods, seems to work with showBadge(String text)):

} else {

        // TODO verify that parent is indeed a ViewGroup
        ViewGroup group = (ViewGroup) parent; 
        int index = group.indexOfChild(target);
        group.removeAllViews();
        group.addView(target);

        this.setVisibility(View.GONE);
        group.addView(this);
        group.invalidate();

    }

RefreshActionItem object in activity is null

Hi Manuel Peinado,

I'm trying to use this library, I followed your instructions to add this library in my project but I'm experiencing an error in onCreateOptionsMenu method.
This is the body of my onCreateOptionsMenu method:

    getSupportMenuInflater().inflate(R.menu.activity_home, menu);

MenuItem item = menu.findItem(R.id.refresh_menu);

if (item != null) {
    mRefreshActionItem = (RefreshActionItem) item.getActionView();
    mRefreshActionItem.setMenuItem(item);
    mRefreshActionItem.setMax(100);
    mRefreshActionItem.setRefreshActionListener(this);
    loadData();
}

//  return super.onCreateOptionsMenu(menu);
return true;

and I get the NullPointerException in the following line:

mRefreshActionItem.setMenuItem(item);.

As you can see, only the mRefreshActionItem object can be null. My question is: why do I get this exception???

Dynamic Menu Creation

How can we create Dynamic Menu with this menu ??
Need urgent help..
expecting +ve response..!!!

how to addSubMenu ?

hi man!
i mean how can i to add the menu item just like this ๐Ÿ‘
SubMenu rootMenu = menu.addSubMenu("");
MenuItem rootMenuItem = rootMenu.getItem();
rootMenuItem.setIcon(R.drawable.actionbar_icon_overflow);
rootMenuItem.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS | MenuItem.SHOW_AS_ACTION_WITH_TEXT);
rootMenu.add(android.view.Menu.NONE, 1, android.view.Menu.NONE, "1");
rootMenu.add(android.view.Menu.NONE, 2, android.view.Menu.NONE, "2");
when i select "1",i need the top bar show progress ,just like your StyledActivity! ( mSaveButton.showProgress(true);)

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.