boxme / ParallaxHeaderViewPager

Scrollable fragments within a viewpager that allows for parallax image and sticky bar effects
MIT License
284 stars 92 forks source link

how to add onclicklistener in recycle view? #6

Open jahir07 opened 9 years ago

jahir07 commented 9 years ago

how to add onclicklistener in recycle view?? I want when click "lecture one" it will display webview.

String[] lecture = new String[] {"Introduction", "Lecture One", "Lecture two", "Lecture three", "Lecture four", "Lecture five"};
    private List<String> createItemList() {

        List<String> list = new ArrayList<>();
        for (int i = 0; i < lecture.length; i++) {
            list.add(lecture[i]);
        }
        return list;
    }

Please help to make onclicklistener.

kingslou commented 8 years ago

try it add interface