See #296 (comment), there are multiple ways we can approach this.
Something based on borrows (Like how String + &str work together) has my preference, but we can't give any sensible lifetime to for example what fn native_window() returns (which we currently have to forcibly _acquire to make it valid). Alas, we'll probably remove those static getters anyway in light of recent suggestions and to support multi-Activity, so this specific case wouldn't affect us anymore. At which point a borrow-based approach might as well work out :)
See #296 (comment), there are multiple ways we can approach this.
Something based on borrows (Like how
String+&strwork together) has my preference, but we can't give any sensible lifetime to for example whatfn native_window()returns (which we currently have to forcibly_acquireto make it valid). Alas, we'll probably remove thosestaticgetters anyway in light of recent suggestions and to support multi-Activity, so this specific case wouldn't affect us anymore. At which point a borrow-based approach might as well work out :)