Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visibility on single item #1

Open
teto100 opened this issue Jan 19, 2016 · 0 comments
Open

Visibility on single item #1

teto100 opened this issue Jan 19, 2016 · 0 comments

Comments

@teto100
Copy link

teto100 commented Jan 19, 2016

Bad english 👎

How to make Invisible a widget ? other rows are made invisible.

I try with notifyItemChanged(position);

Example:

        ((WallPaperViewHolder) holder).tvFav.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {

                int count=Integer.parseInt(singleWallPaper.getFav());
                ++count;

                singleWallPaper.setFav(String.valueOf(count));

                ((WallPaperViewHolder) holder).tvDownloads.setVisibility(View.GONE);

                notifyItemChanged(position);


            }
        });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant