zhanghai/BeeShell

Allow rendering Android Views

Closed this issue · 3 comments

This feature is also available in the AJShA app. However, it is no longer updated nor it is available on the Play Store.

Preview

I will try to work on this feature. Can you please assign this issue to me?

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?

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.