Error Fragment
Fragment displaying an error message to the user when a match request results in no matches.
Constructors
Functions
Set all listeners, ViewModels and shared references to null.
Initiates the views of this fragment and loads the image taken with the camera into mErrorImageView.
Called when the fragment is created, initiates captureViewModel.
On view creation, returns an inflated view of this fragment.
Called after the view of this fragment has been created, calls initViews.
Opens FeedbackFragment.
Opens ResultsActivity.
Removes this fragment.
Properties
The CaptureViewModel, used to access the server url and full camera image of the last match request
The back button, calls removeThisFragment on click
The feedback button, calls openFeedbackFragment on click
The dark background behind this fragment, calls removeThisFragment on click
The full image button, calls openResultsActivity on click