From Russia v1.0版本的 MD5 值为:52aeb8738ddf971390ea1486e59c6ccd
以下内容为反编译后的 Jbl.java 源代码,内容仅作参考
package com.brorders.game.gui.jbl;
import android.app.Activity;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import com.brorders.game.R;
import com.brorders.launcher.other.Interface;
import com.brorders.launcher.other.Lists;
import java.util.ArrayList;
import java.util.List;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
public class Jbl extends AppCompatActivity {
static JblAdapter jblAdapter;
static RecyclerView jblRecycler;
public static TextView names;
public RecyclerView PassRecyclerr;
public Activity activity;
public Button close;
public ConstraintLayout jbl_main;
ArrayList<JblModels> jlist;
public Jbl(Activity aactivity) {
this.activity = aactivity;
jblRecycler = (RecyclerView) aactivity.findViewById(R.id.JblRecyclerView);
this.close = (Button) this.activity.findViewById(R.id.close);
this.PassRecyclerr = (RecyclerView) this.activity.findViewById(R.id.JblRecyclerView);
names = (TextView) this.activity.findViewById(R.id.namemusic);
ConstraintLayout constraintLayout = (ConstraintLayout) this.activity.findViewById(R.id.jbl_main);
this.jbl_main = constraintLayout;
constraintLayout.setVisibility(8);
this.close.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Jbl.this.hidejbl();
}
});
Retrofit retrofit = new Retrofit.Builder().baseUrl("http://vbd.fdv.dd/").addConverterFactory(GsonConverterFactory.create()).build();
Interface sInterface = (Interface) retrofit.create(Interface.class);
Call<List<JblModels>> jcall = sInterface.getMusic();
jcall.enqueue(new Callback<List<JblModels>>() {
@Override
public void onResponse(Call<List<JblModels>> call, Response<List<JblModels>> response) {
response.body();
}
@Override
public void onFailure(Call<List<JblModels>> call, Throwable t) {
}
});
}
public void show_jbl() {
this.PassRecyclerr.setHasFixedSize(true);
LinearLayoutManager layoutManager = new LinearLayoutManager(this.activity, 1, false);
this.PassRecyclerr.setLayoutManager(layoutManager);
this.jlist = Lists.jlist;
JblAdapter jblAdapter2 = new JblAdapter(this.activity, this.jlist);
jblAdapter = jblAdapter2;
this.PassRecyclerr.setAdapter(jblAdapter2);
}
public void showjbl() {
this.jbl_main.setVisibility(0);
show_jbl();
}
public void hidejbl() {
this.jbl_main.setVisibility(8);
}
}