onClick can't be callback,
mPdfView = (PDFView) findViewById(R.id.pdfview); mPdfView.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
Log.d(LOG_TAG, "full screen ");
}
});
<com.joanzapata.pdfview.PDFView android:id="@+id/pdfview" android:clickable="true" android:focusable="true" android:layout_width="match_parent" android:layout_height="match_parent"/>
my code and layout file like above, but the onClick is not callback when I click the pdfView
Same issue, i do not know why :(
Same issue here! BUMP!!!
I use callback like this: http://stackoverflow.com/questions/20132359/how-do-i-add-an-onclicklistener-to-a-button-inside-a-listview-adapter but it works only if pdfview sources imported to my project source. In case of add dependencies to build.gradle it's not work for me
I met the same problem, but have no solution!
the same problem, it's works for com.github.barteksc.pdfviewer.PDFView;