Giter Site home page Giter Site logo

Destroying a surface about famous HOT 4 CLOSED

famous avatar famous commented on June 11, 2024
Destroying a surface

from famous.

Comments (4)

tvararu avatar tvararu commented on June 11, 2024

I'm interested in this as well. Or rather, destroying a context.

I did discover by digging into the source that surfaces get pushed into the private entities singleton, but since it's private there is no way of interacting with it afterwards.

from famous.

gadicc avatar gadicc commented on June 11, 2024

Not sure about context's, but as for modifiers/views/surfaces, I asked this on stackoverflow and the answer was very helpful:

http://stackoverflow.com/questions/23087980/how-to-remove-nodes-from-the-render-tree

What worked perfectly for my use case was to create a mini "View" from which all descending children can be detached and then cleaned up by the GC.

from famous.

dmvaldman avatar dmvaldman commented on June 11, 2024

@gadicc the stackoverflow gives the currently the supported way. We will be making more widgetry in future releases to aid the process.

from famous.

felske avatar felske commented on June 11, 2024

What about with using a scrollview? If I'm scrolling through a large data set and continuing to load in more and more views & surfaces how do I stop it from hitting the ceiling / limits? What the best way to remove and add smoothly within a scrollview? Thanks!

from famous.

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.