I'm writing custom view for charts. How does I can to pass fake data into view, when it is in edit mode? (I know about isInEditMode
, but when I'm trying to pass data inside init
block it crash preview)
That will be without any code in init (and you can look at setItems code)