Back to project page PlayTunes.
The source code is released under:
Copyright (c) 2014, Impeccable Labs, LLC. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions ar...
If you think the Android project PlayTunes listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.ideabag.playtunes.adapter; // www . j a v a 2 s . com import com.ideabag.playtunes.database.MediaQuery; import android.content.Context; import android.provider.MediaStore; public class ArtistsAllAdapter extends ArtistListAdapter { private static final String[] artistsSelection = new String[] { MediaStore.Audio.Artists.ARTIST, MediaStore.Audio.Artists.NUMBER_OF_ALBUMS, MediaStore.Audio.Artists.NUMBER_OF_TRACKS, MediaStore.Audio.Artists._ID }; public ArtistsAllAdapter( Context context, MediaQuery.OnQueryCompletedListener listener ) { super( context ); mQuery = new MediaQuery( MediaStore.Audio.Artists.EXTERNAL_CONTENT_URI, artistsSelection, null, null, MediaStore.Audio.Artists.DEFAULT_SORT_ORDER ); setOnQueryCompletedListener( listener ); requery(); } }