Git Product home page Git Product logo

Comments (10)

chiragw15 avatar chiragw15 commented on July 16, 2024 1

How about displaying only one picture from each source i.e fb, wordpress, etc and folder and when a user clicks on it, all pictures of that folder gets displayed. Basically, what a normal gallery app in android phone does.

from phimpme-android.

dynamitechetan avatar dynamitechetan commented on July 16, 2024 1

We can have card for all categories and when user click on that we can complete grid with lazy loading

@Abhi2424shek @pa1pal reviews??

from phimpme-android.

pa1pal avatar pa1pal commented on July 16, 2024 1

@dynamitechetan This UI looks very nice.

from phimpme-android.

CloudyPadmal avatar CloudyPadmal commented on July 16, 2024

Oh I see! We better integrate a lazy load to it right? Now it's loading the whole gallery!

from phimpme-android.

dynamitechetan avatar dynamitechetan commented on July 16, 2024

I think the previous way is better (6 images at a time and then click to add more) . In this app we have to show images from different sources rg fb, Flickr, WordPress etc. so no need to show a user his full gallery.

from phimpme-android.

CloudyPadmal avatar CloudyPadmal commented on July 16, 2024

I've implemented a way around huge galleries! So I've added the Add button again.

  • Once the app is open, it will load the first 21 images in the gallery. (21 % 3 = 0) [Any suggestions on how much to load at a time? 🤔 ]
  • Upon clicking on the Add button, it will load the next 21
  • When the gallery is fully loaded, the Add button will be disabled

This way, it will fetch a potion at a time making it efficient against huge galleries!

@chiragw15 From what I observed the app generates different grid views to each source like facebook, google images and there's a ton of gallery support is there :D

I will send the PR soon! 🔍

from phimpme-android.

dynamitechetan avatar dynamitechetan commented on July 16, 2024

please send PR. much needed. I am not able to even start the app.

from phimpme-android.

abishekvashok avatar abishekvashok commented on July 16, 2024

@CloudyPadmal a suggestion instead of:

Upon clicking on the Add button, it will load the next 21

Load the images when the user scrolls to the bottom! --- It's a suggestion

from phimpme-android.

abishekvashok avatar abishekvashok commented on July 16, 2024

@dynamitechetan yes it's very nice 😍 can you implement an additional intent when you press on each card or expand it when you press it. (IMO first one would nice as lazy loading can be done in scroll)

from phimpme-android.

dynamitechetan avatar dynamitechetan commented on July 16, 2024

yes. I was thinking to do the same. Show some photos in the card and then open a new Activity to show all the photos with lazy loading.

from phimpme-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.