I have textview i want to display the current date n time but without on click even on button as soon as app is launched it should start ticking date n time
String currentDateTimeString = DateFormat.getDateTimeInstance().format(new Date());
textView.setText(currentDateTimeString);