update
Updates the current AppInfoViewData with new application data.
This function checks for identity and equality to avoid unnecessary updates. If the new data is different, it updates the underlying AppInfoData and creates a new AppInfoViewData instance with the updated data. If the new data has a null icon or label, it retains the existing icon or label.
Return
A new AppInfoViewData instance with the updated data, or this
if the data is identical, or null
if the data is equal but not identical (no visual change).
Parameters
newData
The new AppInfoData to update with.