@SamzSakerz the purpose of using AsyncTask as you mentioned is to not block your UI while loading the stuff from cache/DB. So when the result is back onCreateViewHolder is not called again and therefore your color doesn't get applied.
hmm, appreciate your help :) The closest to what I want to achieve is the RewriteRule ^(?:city1|city2)/?$ / [P] However the controller doesn't get the city1 in the request uri
If I remove P for the proxy the www.example.com page is not reached. the server tries to server www.example.com/city1 which doesn't exist. I believe the issue is more about keeping the proxy but somehow sending through the URI to the server? From my experiment it seems like if I use the proxy the URI is not reaching the server.
Thanks for quick reply, however when using your rule I get a 404 as the server tries to get the page www.example.com/city1, which doesn't really exist.