Day123 — one-line ArrayList in Android
1 min readNov 27, 2019
I want to have a ArrayList being accessible in an Activity. The content of that list is fixed and will not be changed in the life time of the Activity. Since there is no constructor in an Activity, that list is needed to be created in one line as a member variable.