App Inventor 2 (hosted by MIT) is a very simple, very effective programming environment. But there are deficiencies. Sometimes there are simple workarounds. Sometimes there are none. This site explores possible workarounds when there don’t appear to be any.
Not associated with MIT, this site makes no warranty for fitness of any kind. That means if you try a suggestion posted here and your machine goes up in smoke and your life’s work with it, it’s your responsibility. You should have made backups. Of everything.