You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public void replaceObject(final int index, final Object object)
to allow updating an object in the list.
My initial solution was to loop through the objects, removing then re-adding all except the one I want to update where I switch in the new object. The problem is that if the user has already started their next query, the objects get added after the query and the user must remove all tokens to clear the query.
Thanks, and great work!
The text was updated successfully, but these errors were encountered:
I haven't added this. I'm not sure if anyone in a fork has this tucked away somewhere. I haven't been able to come up with a simple method to add this functionality.
It'd be nice if there was a replaceObject method:
public void replaceObject(final int index, final Object object)
to allow updating an object in the list.
My initial solution was to loop through the objects, removing then re-adding all except the one I want to update where I switch in the new object. The problem is that if the user has already started their next query, the objects get added after the query and the user must remove all tokens to clear the query.
Thanks, and great work!
The text was updated successfully, but these errors were encountered: