Skip to content

Material Design Music Player (neteasy api)

Notifications You must be signed in to change notification settings

CeuiLiSA/Emilia

Repository files navigation

Emilia

Material Design Music Player (neteasy api)

public class Api {

    public <Ensure extends ListListen<List<TracksBean>>,
            Before extends BaseResponse<TracksBean>> void getPlaylistDetail(Ensure ensure){
        Retro.getApi()
                .getPlaylistDetail()
                .map(new Function<BaseResponse<TracksBean>, List<TracksBean>>() {
                    @Override
                    public List<TracksBean> apply(BaseResponse<TracksBean> tracksBeanBaseResponse) throws Exception {
                        return tracksBeanBaseResponse.getList();
                    }
                })
                .subscribe(ensure);
    }
}

Image text

Image text

Image text

Image text

Image text

Image text

Releases

No releases published

Packages

No packages published

Languages