Baseflow / ExoPlayerXamarin

Xamarin bindings library for the Google ExoPlayer library
https://baseflow.com
MIT License
153 stars 66 forks source link

Add cues to CueGroup #152

Closed ArchangelWTF closed 1 year ago

ArchangelWTF commented 1 year ago

:sparkles: What kind of change does this PR introduce? (Bug fix, feature, docs update...)

Fixes https://github.com/Baseflow/ExoPlayerXamarin/issues/151

:arrow_heading_down: What is the current behavior?

:new: What is the new behavior (if this is a feature change)?

:boom: Does this PR introduce a breaking change?

:bug: Recommendations for testing

:memo: Links to relevant issues/docs

:thinking: Checklist before submitting

ArchangelWTF commented 1 year ago

@martijn00 Could you accept this PR and update the version (Create a release?)

isaranghi commented 1 year ago

Something is wrong... cueGroup.Cues() is crashing with newer nuget package.

image

isaranghi commented 1 year ago

But when I am trying to call the cues using reflection it works...

var javaCues = cueGroup.Class.GetDeclaredField("cues") .Get(cueGroup) as AbstractCollection;