Code example for Parcel

Methods: readArrayList

0
            this.recTags = recTags;
        } 
 
        @SuppressWarnings("unchecked") 
        private SavedState(Parcel in) {
            super(in);
            addedTags = in.readArrayList(String.class.getClassLoader());
            recTags = in.readArrayList(String.class.getClassLoader());
        } 
 
        public List<String> getAddedTags() {
            return addedTags;
        } 
 
        public List<String> getRecTags() {
            return recTags;
        } 
 
        @Override 
        public void writeToParcel(Parcel dest, int flags) {
            super.writeToParcel(dest, flags);