BeeShell icon indicating copy to clipboard operation
BeeShell copied to clipboard

Allow rendering Android Views

Open pavi2410 opened this issue 4 years ago • 2 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

pavi2410 avatar Jul 07 '21 12:07 pavi2410

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

pavi2410 avatar Jul 07 '21 12:07 pavi2410

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 avatar Jul 08 '21 03:07 zhanghai

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.

zhanghai avatar Jan 17 '23 03:01 zhanghai