infinitered / bluepotion

Like RedPotion, but for Android
MIT License
74 stars 18 forks source link

Added "open" to the REPL #5

Closed jamonholmgren closed 9 years ago

jamonholmgren commented 9 years ago

In REPL:

screen shot 2015-06-02 at 2 15 15 pm

Makes it easier to work on screens. Just open MyScreen and you see it.

(Tested and does work)

jamonholmgren commented 9 years ago

Do you think adding open to every object could be problematic? Do you know a better way to add something to REPL?

GantMan commented 9 years ago

Does this align with ProMotion? It's not much to simply call rmq.screen.open if that's what one wants. Or even app.open would be better.

jamonholmgren commented 9 years ago

app.open is a good idea.

jamonholmgren commented 9 years ago

I don't really have any REPL helpers in ProMotion, so this is more of a *Potion thing.

jamonholmgren commented 9 years ago

Going to rethink this.

twerth commented 9 years ago

open is on screens

By default REPL is in Activity

find.screen.open