Open akku20080 opened 6 years ago
hi @akku20080, Can you describe how you use it or post some codes here? Thanks!
The access level of interface CircularItemClickListener
is package level. So outside package can't see the listener.
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();
}
});
@manishsundriyal hi, as @SangoX said, I will fix this issue a.s.a.p. Thanks for the comment!
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!
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!