全选反选,隐藏,显示切换标题
效果图
点击完成显示,点击编辑隐藏,点击全选可全选
首先先导入依赖
- compile 'com.facebook.fresco:fresco:0.11.0'
- compile 'io.reactivex:rxjava:1.0.14'
- compile 'com.squareup.retrofit2:adapter-rxjava:2.0.0-beta4'
- compile 'com.squareup.retrofit2:converter-gson:2.0.0-beta4'
- compile 'com.squareup.okhttp3:okhttp:3.9.0'
- compile 'com.android.support:recyclerview-v7:26.0.0-alpha1'
- compile 'com.squareup.okio:okio:1.13.0'
- compile 'io.reactivex:rxandroid:1.0.1'
再在清单文件里添加网络权限
- <uses-permission android:name="android.permission.INTERNET"></uses-permission>
MainActivity
- public class MainActivity extends AppCompatActivity implements Iview {
- private Presenters presenters;
- private TextView mBianji;
- private RecyclerView mRv;
- private CheckBox mSelectall;
- private LinearLayout mLl;
- List<Beans.SongListBean> listBeen;
- boolean isShow=true;
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- Fresco.initialize(this);
- setContentView(R.layout.activity_main);
- presenters = new Presenters(this, this);
- initView();
- presenters.getData();
- }
- private void initView() {
- mBianji = (TextView) findViewById(R.id.bianji);
- mRv = (RecyclerView) findViewById(R.id.rv);
- mSelectall = (CheckBox) findViewById(R.id.selectall);
- mLl = (LinearLayout) findViewById(R.id.ll);
- LinearLayoutManager ll=new LinearLayoutManager(this);
- mRv.setLayoutManager(ll);
- //全选
- mSelectall.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
- @Override
- public void onCheckedChanged(CompoundButton compoundButton, boolean b) {
- if (b){
- mRv.setAdapter(new MyAdapter(MainActivity.this,listBeen,true,true));
- }else {
- mRv.setAdapter(new MyAdapter(MainActivity.this,listBeen,true,false));
- }
- }
- });
- mBianji.setOnClickListener(new View.OnClickListener() {
- @Override
- public void onClick(View view) {
- if (isShow){
- mBianji.setText("完成");
- mLl.setVisibility(View.VISIBLE);
- mRv.setAdapter(new MyAdapter(MainActivity.this,listBeen,isShow,false));
- isShow=false;
- }else {
- mBianji.setText("编辑");
- mBianji.setVisibility(View.GONE);
- mRv.setAdapter(new MyAdapter(MainActivity.this,listBeen,isShow,false));
- isShow=true;
- }
- }
- });
- }
- @Override
- public void setData(List<Beans.SongListBean> list) {
- listBeen=list;
- Log.i("===+",""+list.get(0).getTitle());
- MyAdapter adapter=new MyAdapter(MainActivity.this,listBeen,false,false);
- mRv.setAdapter(adapter);
- }
- }
Iview
- public interface Iview {
- void setData(List<Beans.SongListBean> list);
- }
- public interface IModel {
- void retro(Callback callback);
- interface Callback{
- void complate(List<Beans.SongListBean> list);
- }
- }
- public class ShowModel implements IModel{
- @Override
- public void retro(final Callback callback) {
- URLUtils.utils.getObservable().observeOn(AndroidSchedulers.mainThread())
- //设置被观察者在子线程
- .subscribeOn(Schedulers.io())
- //订阅观察者
- .subscribe(new Observer<Beans>() {
- @Override
- public void onCompleted() {
- }
- @Override
- public void onError(Throwable e) {
- Log.i("==error==", "onNext: "+e);
- }
- @Override
- public void onNext(Beans beans) {
- List<Beans.SongListBean> list = beans.getSong_list();
- callback.complate(list);
- Log.i("====", "onNext: "+list);
- }
- });
- }
- }
Presenters
- public class Presenters {
- Context context;
- IModel model;
- Iview view;
- public Presenters(Context context, Iview view) {
- this.context = context;
- this.view = view;
- model=new ShowModel();
- }
- public void getData(){
- model.retro(new IModel.Callback() {
- @Override
- public void complate(List<Beans.SongListBean> list) {
- view.setData(list);
- }
- });
- }
- }
URLUtils
- public interface URLUtils {
- @GET("v1/restserver/ting?method=baidu.ting.billboard.billList&type=1&size=10&offset=0")
- Observable<Beans> getObservable();
- OkHttpClient okHttpClient=new OkHttpClient.Builder()
- .addInterceptor(new LoggingInterceptor())
- .build();
- //使用Retrofit进行设置
- Retrofit retrofit=new Retrofit.Builder()
- //添加OkHttpClient
- .client(okHttpClient)
- //添加接口头部
- .baseUrl("http://tingapi.ting.baidu.com/")
- //添加支持RxJAva
- .addCallAdapterFactory(RxJavaCallAdapterFactory.create())
- //设置解析方式
- .addConverterFactory(GsonConverterFactory.create())
- .build();
- //获得描述网络接口的实例
- URLUtils utils = retrofit.create(URLUtils.class);
- }
LoggingInterceptor
- /**
- * 网络拦截器
- */
- public class LoggingInterceptor implements Interceptor {
- private static final String UA = "User-Agent";
- @Override
- public Response intercept(Chain chain) throws IOException {
- Request request = chain.request()
- .newBuilder()
- .addHeader(UA, makeUA())
- .build();
- return chain.proceed(request);
- }
- private String makeUA() {
- String s = Build.BRAND + "/" + Build.MODEL + "/" + Build.VERSION.RELEASE;
- return Build.BRAND + "/" + Build.MODEL + "/" + Build.VERSION.RELEASE;
- }
- }
MyAdapter 适配器
- public class MyAdapter extends RecyclerView.Adapter<MyAdapter.MyViewHolder> {
- Context context;
- List<Beans.SongListBean> list;
- private boolean isShow = false;
- private boolean isSelect = false;
- public MyAdapter(Context context, List<Beans.SongListBean> list,boolean isShow,boolean isSelect) {
- this.context = context;
- this.list = list;
- this.isShow = isShow;
- this.isSelect = isSelect;
- }
- @Override
- public MyAdapter.MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
- return new MyViewHolder(View.inflate(context, R.layout.item,null));
- }
- @Override
- public void onBindViewHolder(MyAdapter.MyViewHolder holder, int position) {
- if (isShow) {
- holder.checkBox.setVisibility(View.VISIBLE);
- holder.checkBox.setChecked(isSelect);
- } else {
- holder.checkBox.setVisibility(View.GONE);
- }
- holder.author.setText(list.get(position).getTitle());
- holder.ting_uid1.setText(list.get(position).getArtist_name());
- DraweeController dc= Fresco.newDraweeControllerBuilder()
- .setUri(list.get(position).getPic_big())
- .setAutoPlayAnimations(true)
- .build();
- holder.imageView.setController(dc);
- }
- @Override
- public int getItemCount() {
- return list.size();
- }
- class MyViewHolder extends RecyclerView.ViewHolder{
- TextView author,ting_uid1,ting_uid2,ting_uid3;
- SimpleDraweeView imageView;
- CheckBox checkBox;
- public MyViewHolder(View itemView) {
- super(itemView);
- author= itemView.findViewById(R.id.author);
- ting_uid1= itemView.findViewById(R.id.ting_uid1);
- ting_uid2= itemView.findViewById(R.id.ting_uid2);
- ting_uid3= itemView.findViewById(R.id.ting_uid3);
- imageView= itemView.findViewById(R.id.imageView);
- checkBox= itemView.findViewById(R.id.checkBox);
- }
- }
- }
activity——main布局
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout
- android:orientation="vertical"
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- >
- <LinearLayout
- android:background="#099FDE"
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <Button
- android:onClick="back"
- android:text="返回"
- android:textColor="#fff"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- <TextView
- android:textColor="#fff"
- android:gravity="center_horizontal"
- android:text="我的收藏"
- android:layout_width="0dp"
- android:layout_weight="1"
- android:layout_height="wrap_content" />
- <TextView
- android:id="@+id/bianji"
- android:textColor="#fff"
- android:gravity="center_horizontal"
- android:text="编辑"
- android:layout_width="60dp"
- android:layout_height="wrap_content" />
- </LinearLayout>
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="30dp">
- <TextView
- android:layout_gravity="center"
- android:gravity="center"
- android:textColor="#099FDE"
- android:text="商品"
- android:layout_width="0dp"
- android:layout_weight="1"
- android:layout_height="wrap_content" />
- <TextView
- android:gravity="center"
- android:layout_gravity="center"
- android:text="路线/旅游攻略"
- android:layout_width="0dp"
- android:layout_weight="1"
- android:layout_height="wrap_content" />
- </LinearLayout>
- <android.support.v7.widget.RecyclerView
- android:id="@+id/rv"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1">
- </android.support.v7.widget.RecyclerView>
- <LinearLayout
- android:id="@+id/ll"
- android:visibility="gone"
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="30dp">
- <CheckBox
- android:id="@+id/selectall"
- android:text="全选"
- android:layout_width="0dp"
- android:layout_weight="1"
- android:layout_height="wrap_content" />
- <Button
- android:background="#fff"
- android:onClick="delete"
- android:text="删除"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
- </LinearLayout>
item布局
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout
- android:orientation="horizontal"
- xmlns:fresco="http://schemas.android.com/apk/res-auto"
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <CheckBox
- android:visibility="gone"
- android:id="@+id/checkBox"
- android:layout_marginTop="30dp"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- <com.facebook.drawee.view.SimpleDraweeView
- android:id="@+id/imageView"
- android:layout_width="100dp"
- android:layout_height="100dp"
- android:background="@mipmap/ic_launcher"
- />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="100dp"
- android:orientation="vertical">
- <TextView
- android:id="@+id/author"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:text="asdasd" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="60dp"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/ting_uid1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:text="asdasd"
- android:textColor="#f00" />
- <TextView
- android:id="@+id/ting_uid2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginLeft="50dp"
- android:text="asdasd" />
- <TextView
- android:id="@+id/ting_uid3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginLeft="50dp"
- android:text="asdasd" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
Bean类
- /**
- *
- * <span style="color:#330033;"><span style="background-color: rgb(204, 204, 204);">http://tingapi.ting.baidu.com/v1/restserver/ting?method=baidu.ting.billboard.billList&type=1&size=10&offset=0</span></span>
- */
- public class Beans {
- private BillboardBean billboard;
- private int error_code;
- private List<SongListBean> song_list;
- public BillboardBean getBillboard() {
- return billboard;
- }
- public void setBillboard(BillboardBean billboard) {
- this.billboard = billboard;
- }
- public int getError_code() {
- return error_code;
- }
- public void setError_code(int error_code) {
- this.error_code = error_code;
- }
- public List<SongListBean> getSong_list() {
- return song_list;
- }
- public void setSong_list(List<SongListBean> song_list) {
- this.song_list = song_list;
- }
- public static class BillboardBean {
- /**
- * billboard_type : 1
- * billboard_no : 2370
- * update_date : 2017-11-06
- * billboard_songnum : 150
- * havemore : 1
- * name : 新歌榜
- * comment : 该榜单是根据百度音乐平台歌曲每日播放量自动生成的数据榜单,统计范围为近期发行的歌曲,每日更新一次
- * pic_s192 : http://b.hiphotos.baidu.com/ting/pic/item/9922720e0cf3d7caf39ebc10f11fbe096b63a968.jpg
- * pic_s640 : http://c.hiphotos.baidu.com/ting/pic/item/f7246b600c33874495c4d089530fd9f9d62aa0c6.jpg
- * pic_s444 : http://d.hiphotos.baidu.com/ting/pic/item/78310a55b319ebc4845c84eb8026cffc1e17169f.jpg
- * pic_s260 : http://b.hiphotos.baidu.com/ting/pic/item/e850352ac65c1038cb0f3cb0b0119313b07e894b.jpg
- * pic_s210 : http://business.cdn.qianqian.com/qianqian/pic/bos_client_c49310115801d43d42a98fdc357f6057.jpg
- * web_url : http://music.baidu.com/top/new
- */
- private String billboard_type;
- private String billboard_no;
- private String update_date;
- private String billboard_songnum;
- private int havemore;
- private String name;
- private String comment;
- private String pic_s192;
- private String pic_s640;
- private String pic_s444;
- private String pic_s260;
- private String pic_s210;
- private String web_url;
- public String getBillboard_type() {
- return billboard_type;
- }
- public void setBillboard_type(String billboard_type) {
- this.billboard_type = billboard_type;
- }
- public String getBillboard_no() {
- return billboard_no;
- }
- public void setBillboard_no(String billboard_no) {
- this.billboard_no = billboard_no;
- }
- public String getUpdate_date() {
- return update_date;
- }
- public void setUpdate_date(String update_date) {
- this.update_date = update_date;
- }
- public String getBillboard_songnum() {
- return billboard_songnum;
- }
- public void setBillboard_songnum(String billboard_songnum) {
- this.billboard_songnum = billboard_songnum;
- }
- public int getHavemore() {
- return havemore;
- }
- public void setHavemore(int havemore) {
- this.havemore = havemore;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- public String getComment() {
- return comment;
- }
- public void setComment(String comment) {
- this.comment = comment;
- }
- public String getPic_s192() {
- return pic_s192;
- }
- public void setPic_s192(String pic_s192) {
- this.pic_s192 = pic_s192;
- }
- public String getPic_s640() {
- return pic_s640;
- }
- public void setPic_s640(String pic_s640) {
- this.pic_s640 = pic_s640;
- }
- public String getPic_s444() {
- return pic_s444;
- }
- public void setPic_s444(String pic_s444) {
- this.pic_s444 = pic_s444;
- }
- public String getPic_s260() {
- return pic_s260;
- }
- public void setPic_s260(String pic_s260) {
- this.pic_s260 = pic_s260;
- }
- public String getPic_s210() {
- return pic_s210;
- }
- public void setPic_s210(String pic_s210) {
- this.pic_s210 = pic_s210;
- }
- public String getWeb_url() {
- return web_url;
- }
- public void setWeb_url(String web_url) {
- this.web_url = web_url;
- }
- }
- public static class SongListBean {
- /**
- * artist_id : 88
- * language : 国语
- * pic_big : http://musicdata.baidu.com/data2/pic/c4334247844b6635b83c4de6f5993dbf/564124806/564124806.JPG@s_1,w_150,h_150
- * pic_small : http://musicdata.baidu.com/data2/pic/c4334247844b6635b83c4de6f5993dbf/564124806/564124806.JPG@s_1,w_90,h_90
- * country : 内地
- * area : 0
- * publishtime : 2017-10-31
- * album_no : 0
- * lrclink : http://musicdata.baidu.com/data2/lrc/4ca11ed349ed0c1e6488ad1bd664812b/565001257/565001257.lrc
- * copy_type : 1
- * hot : 252464
- * all_artist_ting_uid : 2517
- * resource_type : 0
- * is_new : 1
- * rank_change : 0
- * rank : 1
- * all_artist_id : 88
- * style :
- * del_status : 0
- * relate_status : 0
- * toneid : 0
- * all_rate : 64,128,256,320,flac
- * file_duration : 216
- * has_mv_mobile : 0
- * versions :
- * bitrate_fee : {"0":"0|0","1":"0|0"}
- * biaoshi : first,lossless
- * info :
- * has_filmtv : 0
- * si_proxycompany : TAIHE MUSIC GROUP
- * song_id : 564102115
- * title : 别
- * ting_uid : 2517
- * author : 薛之谦
- * album_id : 564102092
- * album_title : 别
- * is_first_publish : 0
- * havehigh : 2
- * charge : 0
- * has_mv : 0
- * learn : 0
- * song_source : web
- * piao_id : 0
- * korean_bb_song : 0
- * resource_type_ext : 0
- * mv_provider : 0000000000
- * artist_name : 薛之谦
- * pic_radio : http://musicdata.baidu.com/data2/pic/c4334247844b6635b83c4de6f5993dbf/564124806/564124806.JPG@s_1,w_300,h_300
- * pic_s500 : http://musicdata.baidu.com/data2/pic/c4334247844b6635b83c4de6f5993dbf/564124806/564124806.JPG@s_1,w_500,h_500
- * pic_premium : http://musicdata.baidu.com/data2/pic/c4334247844b6635b83c4de6f5993dbf/564124806/564124806.JPG@s_1,w_500,h_500
- * pic_huge : http://musicdata.baidu.com/data2/pic/c4334247844b6635b83c4de6f5993dbf/564124806/564124806.JPG
- * album_500_500 : http://musicdata.baidu.com/data2/pic/c4334247844b6635b83c4de6f5993dbf/564124806/564124806.JPG@s_1,w_500,h_500
- * album_800_800 :
- * album_1000_1000 : http://musicdata.baidu.com/data2/pic/c4334247844b6635b83c4de6f5993dbf/564124806/564124806.JPG
- */
- private String artist_id;
- private String language;
- private String pic_big;
- private String pic_small;
- private String country;
- private String area;
- private String publishtime;
- private String album_no;
- private String lrclink;
- private String copy_type;
- private String hot;
- private String all_artist_ting_uid;
- private String resource_type;
- private String is_new;
- private String rank_change;
- private String rank;
- private String all_artist_id;
- private String style;
- private String del_status;
- private String relate_status;
- private String toneid;
- private String all_rate;
- private int file_duration;
- private int has_mv_mobile;
- private String versions;
- private String bitrate_fee;
- private String biaoshi;
- private String info;
- private String has_filmtv;
- private String si_proxycompany;
- private String song_id;
- private String title;
- private String ting_uid;
- private String author;
- private String album_id;
- private String album_title;
- private int is_first_publish;
- private int havehigh;
- private int charge;
- private int has_mv;
- private int learn;
- private String song_source;
- private String piao_id;
- private String korean_bb_song;
- private String resource_type_ext;
- private String mv_provider;
- private String artist_name;
- private String pic_radio;
- private String pic_s500;
- private String pic_premium;
- private String pic_huge;
- private String album_500_500;
- private String album_800_800;
- private String album_1000_1000;
- public String getArtist_id() {
- return artist_id;
- }
- public void setArtist_id(String artist_id) {
- this.artist_id = artist_id;
- }
- public String getLanguage() {
- return language;
- }
- public void setLanguage(String language) {
- this.language = language;
- }
- public String getPic_big() {
- return pic_big;
- }
- public void setPic_big(String pic_big) {
- this.pic_big = pic_big;
- }
- public String getPic_small() {
- return pic_small;
- }
- public void setPic_small(String pic_small) {
- this.pic_small = pic_small;
- }
- public String getCountry() {
- return country;
- }
- public void setCountry(String country) {
- this.country = country;
- }
- public String getArea() {
- return area;
- }
- public void setArea(String area) {
- this.area = area;
- }
- public String getPublishtime() {
- return publishtime;
- }
- public void setPublishtime(String publishtime) {
- this.publishtime = publishtime;
- }
- public String getAlbum_no() {
- return album_no;
- }
- public void setAlbum_no(String album_no) {
- this.album_no = album_no;
- }
- public String getLrclink() {
- return lrclink;
- }
- public void setLrclink(String lrclink) {
- this.lrclink = lrclink;
- }
- public String getCopy_type() {
- return copy_type;
- }
- public void setCopy_type(String copy_type) {
- this.copy_type = copy_type;
- }
- public String getHot() {
- return hot;
- }
- public void setHot(String hot) {
- this.hot = hot;
- }
- public String getAll_artist_ting_uid() {
- return all_artist_ting_uid;
- }
- public void setAll_artist_ting_uid(String all_artist_ting_uid) {
- this.all_artist_ting_uid = all_artist_ting_uid;
- }
- public String getResource_type() {
- return resource_type;
- }
- public void setResource_type(String resource_type) {
- this.resource_type = resource_type;
- }
- public String getIs_new() {
- return is_new;
- }
- public void setIs_new(String is_new) {
- this.is_new = is_new;
- }
- public String getRank_change() {
- return rank_change;
- }
- public void setRank_change(String rank_change) {
- this.rank_change = rank_change;
- }
- public String getRank() {
- return rank;
- }
- public void setRank(String rank) {
- this.rank = rank;
- }
- public String getAll_artist_id() {
- return all_artist_id;
- }
- public void setAll_artist_id(String all_artist_id) {
- this.all_artist_id = all_artist_id;
- }
- public String getStyle() {
- return style;
- }
- public void setStyle(String style) {
- this.style = style;
- }
- public String getDel_status() {
- return del_status;
- }
- public void setDel_status(String del_status) {
- this.del_status = del_status;
- }
- public String getRelate_status() {
- return relate_status;
- }
- public void setRelate_status(String relate_status) {
- this.relate_status = relate_status;
- }
- public String getToneid() {
- return toneid;
- }
- public void setToneid(String toneid) {
- this.toneid = toneid;
- }
- public String getAll_rate() {
- return all_rate;
- }
- public void setAll_rate(String all_rate) {
- this.all_rate = all_rate;
- }
- public int getFile_duration() {
- return file_duration;
- }
- public void setFile_duration(int file_duration) {
- this.file_duration = file_duration;
- }
- public int getHas_mv_mobile() {
- return has_mv_mobile;
- }
- public void setHas_mv_mobile(int has_mv_mobile) {
- this.has_mv_mobile = has_mv_mobile;
- }
- public String getVersions() {
- return versions;
- }
- public void setVersions(String versions) {
- this.versions = versions;
- }
- public String getBitrate_fee() {
- return bitrate_fee;
- }
- public void setBitrate_fee(String bitrate_fee) {
- this.bitrate_fee = bitrate_fee;
- }
- public String getBiaoshi() {
- return biaoshi;
- }
- public void setBiaoshi(String biaoshi) {
- this.biaoshi = biaoshi;
- }
- public String getInfo() {
- return info;
- }
- public void setInfo(String info) {
- this.info = info;
- }
- public String getHas_filmtv() {
- return has_filmtv;
- }
- public void setHas_filmtv(String has_filmtv) {
- this.has_filmtv = has_filmtv;
- }
- public String getSi_proxycompany() {
- return si_proxycompany;
- }
- public void setSi_proxycompany(String si_proxycompany) {
- this.si_proxycompany = si_proxycompany;
- }
- public String getSong_id() {
- return song_id;
- }
- public void setSong_id(String song_id) {
- this.song_id = song_id;
- }
- public String getTitle() {
- return title;
- }
- public void setTitle(String title) {
- this.title = title;
- }
- public String getTing_uid() {
- return ting_uid;
- }
- public void setTing_uid(String ting_uid) {
- this.ting_uid = ting_uid;
- }
- public String getAuthor() {
- return author;
- }
- public void setAuthor(String author) {
- this.author = author;
- }
- public String getAlbum_id() {
- return album_id;
- }
- public void setAlbum_id(String album_id) {
- this.album_id = album_id;
- }
- public String getAlbum_title() {
- return album_title;
- }
- public void setAlbum_title(String album_title) {
- this.album_title = album_title;
- }
- public int getIs_first_publish() {
- return is_first_publish;
- }
- public void setIs_first_publish(int is_first_publish) {
- this.is_first_publish = is_first_publish;
- }
- public int getHavehigh() {
- return havehigh;
- }
- public void setHavehigh(int havehigh) {
- this.havehigh = havehigh;
- }
- public int getCharge() {
- return charge;
- }
- public void setCharge(int charge) {
- this.charge = charge;
- }
- public int getHas_mv() {
- return has_mv;
- }
- public void setHas_mv(int has_mv) {
- this.has_mv = has_mv;
- }
- public int getLearn() {
- return learn;
- }
- public void setLearn(int learn) {
- this.learn = learn;
- }
- public String getSong_source() {
- return song_source;
- }
- public void setSong_source(String song_source) {
- this.song_source = song_source;
- }
- public String getPiao_id() {
- return piao_id;
- }
- public void setPiao_id(String piao_id) {
- this.piao_id = piao_id;
- }
- public String getKorean_bb_song() {
- return korean_bb_song;
- }
- public void setKorean_bb_song(String korean_bb_song) {
- this.korean_bb_song = korean_bb_song;
- }
- public String getResource_type_ext() {
- return resource_type_ext;
- }
- public void setResource_type_ext(String resource_type_ext) {
- this.resource_type_ext = resource_type_ext;
- }
- public String getMv_provider() {
- return mv_provider;
- }
- public void setMv_provider(String mv_provider) {
- this.mv_provider = mv_provider;
- }
- public String getArtist_name() {
- return artist_name;
- }
- public void setArtist_name(String artist_name) {
- this.artist_name = artist_name;
- }
- public String getPic_radio() {
- return pic_radio;
- }
- public void setPic_radio(String pic_radio) {
- this.pic_radio = pic_radio;
- }
- public String getPic_s500() {
- return pic_s500;
- }
- public void setPic_s500(String pic_s500) {
- this.pic_s500 = pic_s500;
- }
- public String getPic_premium() {
- return pic_premium;
- }
- public void setPic_premium(String pic_premium) {
- this.pic_premium = pic_premium;
- }
- public String getPic_huge() {
- return pic_huge;
- }
- public void setPic_huge(String pic_huge) {
- this.pic_huge = pic_huge;
- }
- public String getAlbum_500_500() {
- return album_500_500;
- }
- public void setAlbum_500_500(String album_500_500) {
- this.album_500_500 = album_500_500;
- }
- public String getAlbum_800_800() {
- return album_800_800;
- }
- public void setAlbum_800_800(String album_800_800) {
- this.album_800_800 = album_800_800;
- }
- public String getAlbum_1000_1000() {
- return album_1000_1000;
- }
- public void setAlbum_1000_1000(String album_1000_1000) {
- this.album_1000_1000 = album_1000_1000;
- }
- }
- }