In my Android app I have multiple activities using different array resources and I want to create one that has all of them. Is there an easy way to do this so that when I add an item to the string array it is automatically added to the “All” activity?
In my Android app I have multiple activities using different array resources and I
Share
You need to create a generalized array in a class called ConstantCodes.java and declare your all arrays in it as follows,
Calling FirstActivity.java
Calling SecondActivity.java