Commit Graph

9 Commits

Author SHA1 Message Date
Krzysztof Magiera
4a9a3a877a Fix header rendering – layout and transparency (#184)
* Let UINavController control subcontroller view's frames.

This PR changes the way we've been handling yoga <> NavController layout interactions. Now we ignore frame updates coming from react for the main Screen view to allow NavController take the controll. In order to keep yoga working we now use `setSize` to pass the dimensions of the view back to yoga such that it can properly calculate layout of the views under Screen component.

* Header resizing fixes for Android.

In this change we use CoordinatorLayout as a stack screen container to handle rendering of toolbar and screen content. Thanks to this approach we can support collapsable bars in the future. Instead of relying on RN to layout screen container when renered under ScreenStack we rely on Android native layout to measure and position screen content and then use UIManager.setNodeSize to communicate that back to react.
2019-10-18 15:08:39 +02:00
Krzysztof Magiera
2d54b76cb6 Update Example app to RN 0.61 (#177) 2019-10-09 11:05:37 +02:00
Krzysztof Magiera
80a466970e Navigation stack native primitives (#139)
Adds support for stack navigation primitives (UINavigationViewController and Android fragment container with back button support)
2019-09-05 13:55:14 +02:00
Krzysztof Magiera
5cd96cdd1b Upgrade Example project 2018-12-18 13:14:43 +01:00
Krzysztof Magiera
1cd165e763 Use react-navigation v3 2018-12-13 20:14:01 +01:00
Krzysztof Magiera
5763e7c745 Update example config for Android to make it build after recent screens package renaming 2018-10-11 12:51:06 +02:00
Krzysztof Magiera
ccde895bdb Add lifecycle aware view managers to Example app 2018-09-05 09:01:57 +02:00
Krzysztof Magiera
70c022c628 Fix mounting nested fragments in the same transaction 2018-08-21 11:02:39 +02:00
Krzysztof Magiera
31281d6b68 Initial commit. 2018-08-03 13:54:11 +02:00