Order of Android's InboxStyle notification style not universal? How do I determine its order?
<p>Let me demonstrate my answer with an image: </p>

<p><a href="https://i.stack.imgur.com/PqSK3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PqSK3.png" alt="enter image description here"></a></p>

<p>Looking at the image above, it is Android's default behaviour to add the latest incoming text to the <strong>end</strong> of an <code>InboxStyle</code> notification. So, to gain the latest text, I would simply access the last element of the <code>CharSequence</code> array. </p>

<p>However, in certain apps (Twitter, even the native SMS app on the Nexus 6P!) has this order completely reversed, where the latest message goes to the <strong>top</strong> of the stack instead. </p>

<p>In my app that I'm trying to create, I monitor all incoming <code>InboxStyle</code> notifications and I need a method to get the latest text that was added to each app's respective InboxStyle notification. Since this order is not universal (I'm not even sure why Android would allow this, since it's confusing that orders can be reversed on a per-app basis), how would I get it? </p>

<p>On some, it's the [0]th element and other's, it's the [array.length-1]th element. </p>

<p>Can anyone point me to the right direction in determining which order an application decides to use? </p>