mirror of
https://github.com/emilk/egui.git
synced 2026-06-28 07:23:13 -04:00
Use egui_demo_lib in android example (#5780)
* [x] I have followed the instructions in the PR template
This commit is contained in:
9
examples/hello_android/src/main.rs
Normal file
9
examples/hello_android/src/main.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
use hello_android::MyApp;
|
||||
|
||||
fn main() -> eframe::Result {
|
||||
eframe::run_native(
|
||||
"hello_android",
|
||||
Default::default(),
|
||||
Box::new(|cc| Ok(Box::new(MyApp::new(cc)))),
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user