infinitered / bluepotion

Like RedPotion, but for Android
MIT License
74 stars 18 forks source link

Adapter screen timing fix #81

Closed skellock closed 9 years ago

skellock commented 9 years ago

An adapter can start requesting data from it's list screen prior to blue potion setting the proper PMScreen on find.screen.

This tells the adapter explicitly who the parent screen is, so we're not firing off update methods against the "last" screen.

Another option might be to start the adapter in a paused state so the data doesn't flow until find.screen is the right one.

jamonholmgren commented 9 years ago

:+1:

GantMan commented 9 years ago

"timing" was it grabbing the wrong screen in some instances?

skellock commented 9 years ago

Yep. Might be good to map out the timing of things. I had a similar problem where a style sheet styler called within on_load would have the previous screen.