Extracting row logic into subview class