public class HomeActivity extends AppCompatActivity
implements NavigationView.OnNavigationItemSelectedListener {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_home);
Button ten, twelve;
ten=(Button) findViewById(R.id.tenth) ;
twelve=(Button) findViewById(R.id.twelth) ;
ten.setOnClickListener(new View.OnClickListener() {
DatabaseReference ref = FirebaseDatabase.getInstance().getReference().child("Customer_details");
@Override
public void onClick(View v) {
}
});
我的班级
package com.example.shikshaMela.sm;
public class course_tenth {
String name = "";
String college_list = "";
String fee = "";
String duration = "";
String higher_study = "";
String job_aspects = "";
String entrance_exam = "";
public course_tenth() {
}
public course_tenth(String name, String college_list, String fee, String duration, String higher_study, String job_aspects, String entrance_exam)
{
this.name = name;
this.college_list = college_list;
this.fee = fee;
this.duration = duration;
this.higher_study = higher_study;
this.job_aspects = job_aspects;
this.entrance_exam = entrance_exam;
}
public String getname() {
return name;
}
public String getCollege_list() {
return college_list;
}
public String getFee() {
return fee;
}
public String getDuration() {
return duration;
}
public String getHigher_study() {
return higher_study;
}
public String getJob_aspects() {
return job_aspects;
}
public String getEntrance_exam() {
return entrance_exam;
}
}
} `我想从数据库中获取所有课程列表(如bca),并在其他活动的列表中显示。这些项目(bca)是可点击的,所以当我们点击这些项目(bca)时,它的内部数据(如大学资格等等)将被提取。
我该怎么做?
答案 0 :(得分:0)
df[('bar','new')] = df[('bar','one')] * 10
first bar
second one two new
A 0.386729 1.014010 3.867295
B 0.236824 0.439019 2.368238
C 0.530020 -0.268751 5.300204
});