Skip to content

FE-937 Connections search results

Connections and requests now appear in search results.

The same adapter and pattern that was used on the Requests screen is being reused here, since much of the functionality is the same. Some new ViewHolders and subclasses were created to present Connections and UD Search results in the same RecyclerView as Requests.

The RequestStatus enum, which was used to describe the request state (sent, accepted, verified, etc.) now also describes if the request is a search result (i.e. not requested yet)

This isn't stored in the database, but it's used in the model/UI layer to make sure every type of result that's shown (contacts, requests, UD) have their clicks handled correctly.

Edited by Kamal Bramwell

Merge request reports