GithubHelp home page GithubHelp logo

Comments (9)

misaochan avatar misaochan commented on May 16, 2024 1

@Halibutt wow, interesting. I've included this bugfix in the list of improvements that I plan to make in my IEG proposal, and I'll start looking into it as soon as I can.

from apps-android-commons.

misaochan avatar misaochan commented on May 16, 2024

Hi @Halibutt ,

Is this still a problem in the current version of the app?

Thanks!

from apps-android-commons.

Halibutt avatar Halibutt commented on May 16, 2024

Kind of. This time it stopped at 498 :/

from apps-android-commons.

misaochan avatar misaochan commented on May 16, 2024

Hi @Halibutt ,

Could you please post the crash logs for this? I tried looking at our old crash reports but couldn't seem to find your issue there.

from apps-android-commons.

misaochan avatar misaochan commented on May 16, 2024

Ah, okay, I figured out what's causing this. It's this method in ContributionsSyncAdapter.java

    private int getLimit() {
        return 500; // FIXME: Parameterize!
    }

@nicolas-raoul how do you think we should fix this? I could just increase the limit, but would that work well? Maybe we could have a setting where the user can select his/her own limit, would that be a good idea?

from apps-android-commons.

nicolas-raoul avatar nicolas-raoul commented on May 16, 2024

If I understand correctly, when the app is opened, it creates the UI slots for 500 pictures, but only actually downloads them if you scroll.
So, increasing this limit does not cost bandwidth, right?
There might be a cost in terms of CPU, memory and loading time though.

I don't think it is worth confusing users with another setting.

I don't think many people use the app to review the pictures they have uploaded months ago, but I could be mistaken? @Halibutt do you often do that, and if yes would you mind telling us why? It might enlighten us on alternative usages of the app.

Of course, the best would be to create the UI little by little, I remember watching a tutorial video about this.

from apps-android-commons.

misaochan avatar misaochan commented on May 16, 2024

Ah, okay. When I tested with a limit of 1000, there wasn't any noticeable difference in loading time or resources used. But maybe that is because I only have 148 pics (not sure if the extra costs kick in if you are below the original limit or not).

Should I just leave the limit at 500 then, or increase it to 1000 for now?

from apps-android-commons.

nicolas-raoul avatar nicolas-raoul commented on May 16, 2024

I believe that 500 should be enough for most people for now, unless Halibutt gives us good reasons to think otherwise.
I make this an enhancement to make the list length dynamic

from apps-android-commons.

misaochan avatar misaochan commented on May 16, 2024

Okay, sure thing.

from apps-android-commons.

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.