<div dir="ltr"><div><div><span class="im">mPlaylistAdapter.getItem(p) could eventually, given to weird PS crash reports.<br></span></div><span class="im">But the playlists list is more static than the others.<br></span></div><span class="im">I'm quite confident with this.<br></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 23, 2015 at 4:58 PM, Jean-Baptiste Kempf <span dir="ltr"><<a href="mailto:jb@videolan.org" target="_blank">jb@videolan.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 23 Mar, Geoffrey Métais wrote :<br>
<span class="">> +    OnItemClickListener playlistListener = new OnItemClickListener() {<br>
> +        @Override<br>
> +        public void onItemClick(AdapterView<?> av, View v, int p, long id) {<br>
> +            String mediaLocation = mPlaylistAdapter.getItem(p).mMediaList.get(0).getLocation();<br>
<br>
</span>None of those can be NULL ?<br>
<br>
With my kindest regards,<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Jean-Baptiste Kempf<br>
<a href="http://www.jbkempf.com/" target="_blank">http://www.jbkempf.com/</a> - +33 672 704 734<br>
Sent from my Electronic Device<br>
_______________________________________________<br>
Android mailing list<br>
<a href="mailto:Android@videolan.org">Android@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/android" target="_blank">https://mailman.videolan.org/listinfo/android</a><br>
</font></span></blockquote></div><br></div>