greenfrvr / hashtag-view

Android fully customizable widget for representing data like hashtags collection and similiar.
MIT License
337 stars 54 forks source link

Remove doesn't work #20

Closed icodeyou closed 8 years ago

icodeyou commented 8 years ago

Hello, I want to remove an item after its click. When I click on an item, the view is refreshed but my item is still there.. However the method "removeItem" return true. The dynamic mode is set to true. Could you help me ?

Here's my code :

myHashtagView.addOnTagClickListener(new HashtagView.TagsClickListener() {
            @Override
            public void onItemClicked(Object item) {
                Tag tag = (Tag) item;
                boolean success = suggestedTagsView.removeItem(item);
                Log.d(TAG, "removing item success : "+ success);
            }
        });