Add Iris Android APK tooling

This commit is contained in:
iris committed 2026-09-11 03:44:06 -04:00
1 parent e137f38a5d
commit df1290904b
24 files changed
+1814 -63

No files matched your search

+7 -3
View File
@@ -89,8 +89,8 @@ fn frame_report_controls(rsc: &mut StdRsc<TranscriptClient>) -> WeakWidget {
(report, reset).span(Dir::RIGHT).height(56).add(rsc)
}
impl AndroidAppState for TranscriptClient {
fn new(mut ui_state: AndroidUiState, rsc: &mut StdRsc<Self>) -> Self {
impl TranscriptClient {
pub(super) fn new(mut ui_state: AndroidUiState, rsc: &mut StdRsc<Self>) -> Self {
let content = WidgetPtr::new().add(rsc);
let loading = placeholder(rsc, "Loading sessions...");
content(rsc).set(loading);
@@ -112,8 +112,12 @@ impl AndroidAppState for TranscriptClient {
client.spawn_fetch_sessions(rsc);
client
}
}
fn back_pressed(&mut self, _rsc: &mut StdRsc<Self>) -> bool {
impl AndroidAppState for TranscriptClient {
type Resources = StdRsc<Self>;
fn back_pressed(&mut self, _rsc: &mut Self::Resources) -> bool {
// No screen stack of its own -- same "let the activity finish"
// answer `iris-android-app`'s tabs `Client` already gives.
false