Commit 4c7d24e
Adopt signals in IndoorManager API (#7964)
- Use signals parameter instead of callback in IndoorManager, to allow
emitting to multiple subscribers
- Allow to use generateOnly with signals in bindgen
- Make lifecycle between map and indoor_manager safer, instead of raw
pointer indoor_manager stores map as std::weak_ptr
- mbgl::map now stores indoor_manager_impl as std::weak to propagate
events, implementation is shared while only strongly owned by it public
peer
cc @mapbox/gl-native
cc @mapbox/core-sdk
cc @mapbox/maps-android
GitOrigin-RevId: 75dcce5d1da0f28eac1a38eb60bf5929f0a466021 parent 8013a94 commit 4c7d24e
File tree
1 file changed
+9
-5
lines changed- app/src/main/java/com/mapbox/maps/testapp/examples
1 file changed
+9
-5
lines changedLines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
| |||
0 commit comments