Giter Site home page Giter Site logo

Comments (10)

deepiksdev avatar deepiksdev commented on September 18, 2024

@moskvin : can you please provide an example of "wrong number of links" returned? For example, what links are missing on Wind 355? Also, can you please create a separate issue for " If you open the magazine "Wind 355" and to scroll bottom menu to last issue and return to first will appears left padding"

from android.

moskvin avatar moskvin commented on September 18, 2024

I am going to retest this issue and provide examples

from android.

deepiksdev avatar deepiksdev commented on September 18, 2024

@moskvin: did you manage to retest?

from android.

deepiksdev avatar deepiksdev commented on September 18, 2024

sorry to insist @moskvin , did you manage to retest, and do you confirm that the issue still exists? Thanks.
cc @suntehnik

from android.

moskvin avatar moskvin commented on September 18, 2024

For example:

I tried open slideshow on 70 page for Wind 355 but I see that the file hasn't been downloaded. I added additional debug log for it:

D/MediaHolder( 2138): basePath = /data/data/com.niveales.wind/app_libreliowind_355
D/MediaHolder( 2138): uriString = http://localhost/CAPVERT2_3.jpg
D/MediaHolder( 2138): exist file /data/data/com.niveales.wind/app_libreliowind_355/CAPVERT2_3.jpg? false

from android.

suntehnik avatar suntehnik commented on September 18, 2024

I used to debug the code. PDF Engine (PDFParser.java) returns correct links for page 70 (Wind_355).

from android.

suntehnik avatar suntehnik commented on September 18, 2024

Found the problem in DownloadActivity.java at lines 185. You incorrectly using SparseArray.
SparseArray.get(i) returns the value for the key with index "i", not the i-ish element of array.
Please check here: http://developer.android.com/reference/android/util/SparseArray.html#get(int)

from android.

suntehnik avatar suntehnik commented on September 18, 2024

fixed, pushed to the repo

from android.

moskvin avatar moskvin commented on September 18, 2024

thank you for fix

from android.

deepiksdev avatar deepiksdev commented on September 18, 2024

Thanks, @suntehnik.

from android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.