startCharging.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(context, charging_activity.class);
context.startActivity(intent);
}
});
The gradle console shows an error saying unresolved symbol about context
Aucun commentaire:
Enregistrer un commentaire