79180871

Date: 2024-11-12 11:23:13
Score: 0.5
Natty:
Report link

You need to add the following text to the strings.xml file:

<string name="text_today">Today is %1s</string>

Then there is:

val date = SimpleDateFormat("EEEE").format(Date())
textview.text = getString(R.string.text_today, date)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nguyễn Mạnh Cường