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

Error on CircularTouchListener #1

Open
akku20080 opened this issue Oct 27, 2017 · 5 comments
Open

Error on CircularTouchListener #1

akku20080 opened this issue Oct 27, 2017 · 5 comments

Comments

@akku20080
Copy link

I am getting this issue when I click circular item
'com.jh.circularlist.CircularTouchListener.CircularItemClickListener' is not public in 'com.jh.circularlist.CircularTouchListener'. Cannot be accessed from outside package

Please help!

@JungHsuan
Copy link
Owner

hi @akku20080,
Can you describe how you use it or post some codes here? Thanks!

@SangoX
Copy link

SangoX commented Oct 30, 2017

The access level of interface CircularItemClickListener is package level. So outside package can't see the listener.

@manishsundriyal
Copy link

manishsundriyal commented Dec 9, 2017

I am also facing the same error

'com.jh.circularlist.CircularTouchListener.CircularItemClickListener' is not public in 'com.jh.circularlist.CircularTouchListener'. Cannot be accessed from outside package

circularListView.setOnItemClickListener(new CircularTouchListener.CircularItemClickListener() {
            @Override
            public void onItemClick(View view, int index) {
                Toast.makeText(MainActivity.this,
                        "view at index " + index + " is clicked!",
                        Toast.LENGTH_SHORT).show();
            }
        });

@JungHsuan
Copy link
Owner

@manishsundriyal hi, as @SangoX said, I will fix this issue a.s.a.p. Thanks for the comment!

@JungHsuan
Copy link
Owner

hi @akku20080 and @manishsundriyal,
I just updated code for solving this issue to 1.2 release.
Please update the dependencies to 1.2 and try again, hope this will solve your problem, Thanks!

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

4 participants