I am creating an android application. In my application, I need a variable that initializes only once when the application is first created. It should not be initialized even when the app gets updated. I added, "entered". So whenever I open the app I should have ArrayList which contains entered String.
ArrayList<String> strings=new ArrayList<String>();
strings.add("entered");