Automattic / stories-android

Loop concept app - WP Stories library
GNU General Public License v2.0
17 stars 6 forks source link

Add StoryLoadStart and StoryLoadEnd events #714

Closed mzorz closed 2 years ago

mzorz commented 2 years ago

This PR adds two events that are triggered from method onLoadFromIntent():

Note: given we were adding new events which were similar to StorySaveEvents but of a different nature, I first created a new package to keep both classes separately for cleanliness (see c4382d8), but turns out given we're serializing the slides along with their save results on the WPAndroid app this meant previously saved stories would not be able to get deserialized after this change. So, given this, I decided to add the class right along the same package where the StorySaveEvents where.

To test:

peril-automattic[bot] commented 2 years ago

You can test the changes on this Pull Request by downloading the APK here.