]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/commit
Fix bug with loading pdf preview
authorMichal Horn <hornmich@fel.cvut.cz>
Fri, 13 Feb 2015 16:01:54 +0000 (17:01 +0100)
committerMichal Horn <hornmich@fel.cvut.cz>
Fri, 13 Feb 2015 16:01:54 +0000 (17:01 +0100)
commit07f13c0b3f9545aa86f72e111c1f880bc07b6e58
tree687296d0f85290e9aa5984df41c95cb16c43fed0
parent8e4a6f364edcc68fb312b3ddbb5686fbb0c048b2
Fix bug with loading pdf preview

The library needs to explicitly call the countPages() function to obtain and
remember the number of pages, which is used in subsequently called updatePage()
and drawPage() functions.
QRScanner/glass/src/main/java/cz/cvut/fel/dce/qrscanner/PreviewActivity.java
QRScanner/mobile/src/main/java/cz/cvut/fel/dce/qrscanner/PreviewActivity.java