Hi,
In my app, i switch back and forth between cells, via menu events. In this particular case, I’m rebuilding the views (reusing id’s) completely and re-adding them to the multiview, every single time (this kinda defeats the purpose of multiview, but bear with me please, I’m learning as I go). This is causing me a problem where, after going back to a view a second time, I get an error like Uncaught TypeError: Cannot read property ‘style’ of null . I’ve trying destroying the old view before switching, but that doesn’t seem to avoid the error.
The only way I’m avoiding it is actually rebuilding the multiview every single time, but that seems overkill (and obviously kills the animation effects). I’m missing something for sure. What cares should I take when doing something like this?
thanks