Giter VIP home page Giter VIP logo

Comments (7)

mrKlar avatar mrKlar commented on July 1, 2024

Just putting the grid into a vertical scroll view does'nt work?

from pageddragdropgrid.

freide avatar freide commented on July 1, 2024

Do you mean in example.xml or in PagedDragDropGrid, I have just changed in PagedDragDropGrid the extends from HorizontalScrollView to ScrollView and I am testing it, but I don't think it is going to work.

Thanks

from pageddragdropgrid.

mrKlar avatar mrKlar commented on July 1, 2024

Yes in the example xml, there is a parent scrollview that is vertically scrolling the grid.

from pageddragdropgrid.

freide avatar freide commented on July 1, 2024

this is your example.xml:


<ca.laplanete.mobile.pageddragdropgrid.PagedDragDropGrid
android:id="@+id/gridview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/white"/>

And it scrolls the grid, but the scroll doesn't cover all the icons that I've added. I show you in these images:
The fist one show how does de app start, and the second one with the scroll that add example.xml, but the number of icons that I have got is 80, so there are six left that don't appear with the given scroll.
captura de pantalla 2013-11-29 a la s 16 59 34
captura de pantalla 2013-11-29 a la s 16 59 48

Thanks you, I don't know if I express my shelf properly because english is not my mother tongue.

from pageddragdropgrid.

mrKlar avatar mrKlar commented on July 1, 2024

Oh, than there is a problem that i dont know of...

from pageddragdropgrid.

freide avatar freide commented on July 1, 2024

Yes, I've got 80 items... I'm sorry about the bad news, I hope you have spare time and you can keep working on it!
if you get to the solution of the problem I would be perfect if tell all of us.
Thanks for your help.

from pageddragdropgrid.

virusman avatar virusman commented on July 1, 2024

If I understand correctly, putting it into ScrollView won't be memory-efficient, because it won't recycle grid elements that are not displayed on the screen.

from pageddragdropgrid.

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.