You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fastview is built around CBVs, but that can get in the way of putting together a simple view.
FBV support probably won't look entirely like a normal FBV, as some of the view logic makes sense as a CBV - but it should be possible to just write a simple view in a function.
The text was updated successfully, but these errors were encountered:
Currently we're trying to define the view outside the class and assign it into the viewgroup - the intention was to implement native FBVs, but that's impractical, and doesn't make sense in the context of the viewgroup class.
Instead, define it as a method on the viewgroup. Behind the scenes we can wrap it in a staticmethod and turn it into a View class - just make sure to call it with the viewgroup as the first argument
Fastview is built around CBVs, but that can get in the way of putting together a simple view.
FBV support probably won't look entirely like a normal FBV, as some of the view logic makes sense as a CBV - but it should be possible to just write a simple view in a function.
The text was updated successfully, but these errors were encountered: