On Android ClassCastException in onResume method

In the crash logs for our app in the Google Play store, I’ve seen a bunch of ClassCastException’s in the onResume method from the JuceAppActivity class:

Perhaps that method should be changed from its current implementation:

    for (int i = 0; i < viewHolder.getChildCount(); ++i)
        ((ComponentPeerView) viewHolder.getChildAt (i)).appResumed();

to:

     for (int i = 0; i < viewHolder.getChildCount(); ++i)
    {
        if (viewHolder.getChildAt(i) instanceof ComponentPeerView )
        {
            ((ComponentPeerView) viewHolder.getChildAt (i)).appResumed();
        }
    }

Yes, you are absolutely right. The fix will appear on develop shortly, thanks!