Beispiel #1
0
        public override void LoadArtPic(PicSizeType picSizeType, OnLoadListener loadListener)
        {
            String uri = "";

            switch (picSizeType)
            {
            case PicSizeType.SMALL:
                uri = new Uri(songinfo != null ? songinfo.pic_small : "").AbsolutePath;
                break;

            case PicSizeType.BIG:
                uri = new Uri(songinfo != null ? songinfo.pic_big : "").AbsolutePath;
                break;

            case PicSizeType.PREIUM:
                uri = new Uri(songinfo != null ? songinfo.pic_premium : "").AbsolutePath;
                break;

            case PicSizeType.HUGE:
                uri = new Uri(songinfo != null ? songinfo.pic_huge : "").AbsolutePath;
                break;
            }
            loadArtPic(uri, loadListener);
        }
Beispiel #2
0
 public override void LoadArtPic(PicSizeType picSizeType, OnLoadListener loadListener)
 {
 }
Beispiel #3
0
 public override void LoadArtPic(OnLoadListener loadListener)
 {
 }
Beispiel #4
0
 public abstract void LoadArtPic(PicSizeType picSizeType, OnLoadListener loadListener);
Beispiel #5
0
        //    /**
        //     * 获取艺术家图片
        //     * @return   uri
        //     */
        //    public abstract String getArtPic();

        /**
         * 加载艺术家图片  上面的方法废弃
         *
         * @param loadListener
         */
        public abstract void LoadArtPic(OnLoadListener loadListener);
Beispiel #6
0
 private void loadArtPic(String artUri, OnLoadListener loadListener)
 {
 }
Beispiel #7
0
 /**
  * 默认加载samll
  * @param loadListener
  */
 public override void LoadArtPic(OnLoadListener loadListener)
 {
     LoadArtPic(PicSizeType.SMALL, loadListener);
 }