Allow rendering Android Views
Closed this issue · 3 comments
pavi2410 commented
pavi2410 commented
I will try to work on this feature. Can you please assign this issue to me?
zhanghai commented
I'm actually a bit undecided on this, because unlike AJShA, this app is an REPL which keeps history and supportings things like rotation. For example, how are you going to handle rotation and activity recreation without leaking the old activity held by the view?
zhanghai commented
You can always use the activity
instance to create a helper function that helps you add a view somewhere, and you can save it into a script so that you may load it every time you start. However since there's no good way to support this natively without introducing bugs/leaks etc I'll close this for now.