@Nullable
    @Override
    public View onCreateView(@NonNull final LayoutInflater inflater, final ViewGroup container, final Bundle savedInstanceState) {
        super.onCreateView(inflater, container, savedInstanceState);
        final View view = inflater.inflate(R.layout.imagelist_fragment, container, false);
        binding = ImagelistFragmentBinding.bind(view);
        return view;
    }
adjusts image persistent state to what is actually in the list
main/src/main/java/cgeo/geocaching/ui/ImageListFragment.java