The problem at the data layer is caused by the current [conversion](https://searchfox.org/mozilla-central/rev/8c3ca2f5a74e0ba59c3d9dddf5468a2ffab13467/mobile/android/android-components/components/service/pocket/src/main/java/mozilla/components/service/pocket/stories/api/PocketJSONParser.kt#45) of `title`, `url` & `imageUrl` by `json.getString`. If a literal null value is provided in JSON it will be coerced to a string as "null" and parsed as a valid Story. I will avoid changing any UX code at this point, as I believe this particular issue is in our handling of the provided data. Noah, perhaps we should look into creating a new issue to convert all uses of `StaggeredHorizontalGrid` with `FlowRow`?
Bug 1892126 Comment 11 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
The problem at the data layer is caused by the current [conversion](https://searchfox.org/mozilla-central/rev/8c3ca2f5a74e0ba59c3d9dddf5468a2ffab13467/mobile/android/android-components/components/service/pocket/src/main/java/mozilla/components/service/pocket/stories/api/PocketJSONParser.kt#45) of `title`, `url` & `imageUrl` by `json.getString`. If a literal null value is provided in JSON it will be coerced to a string as "null" and parsed as a valid Story. I will avoid changing any UX code at this point, as I believe this particular issue pertains to the handling of the provided data. Noah, perhaps we should look into creating a new issue to convert all uses of `StaggeredHorizontalGrid` with `FlowRow`?