Lenkelheit / Coursework

This repository contains Instagram-like application
Apache License 2.0
1 stars 0 forks source link

Speed up LikePhotoCommand #109

Closed iamprovidence closed 5 years ago

iamprovidence commented 5 years ago

Currently each time when you call LikePhotoCommand its check if user press like or dislike. I think it would be better if we do this operation once in PhotoInsideViewModel and store the value of it in a variable

iamprovidence commented 5 years ago

if so, you will have to change DataBase on each property changed. Actually became even slower