Inserting the current year into a TextView
You can do something like:
Calendar calendar = Calendar.getInstance();
int year = calendar.get(Calendar.YEAR);
TextView footer = findViewById(R.id.footer);
footer.setText("" + year);
You can do something like:
Calendar calendar = Calendar.getInstance();
int year = calendar.get(Calendar.YEAR);
TextView footer = findViewById(R.id.footer);
footer.setText("" + year);