This project is all about the collapsing toolbar which will change the colour of the tool bar while collapsing with respect to the dominant colour in the image and gives a better colour matching ui.
https://www.designstring.com/whats-app-like-colour-changing-collapsing-tool-bar-using-palette/