Skip to content

Commit

Permalink
fix:Add toast message when no user with common skills is found using …
Browse files Browse the repository at this point in the history
…filter(anita-org#866)
  • Loading branch information
ritvij14 committed Sep 10, 2020
1 parent 62a575e commit d1765e5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import android.view.Menu
import android.view.MenuInflater
import android.view.MenuItem
import android.widget.SearchView
import android.widget.Toast
import com.google.android.material.snackbar.Snackbar
import kotlinx.android.synthetic.main.fragment_members.*
import org.systers.mentorship.R
Expand Down Expand Up @@ -133,6 +134,8 @@ class MembersFragment : BaseFragment() {
adapter = rvAdapter
isRecyclerView = true
}
} else {
Toast.makeText(activity, "Oops! Not found", Toast.LENGTH_SHORT).show()
}
memberListInitialized = true
tvEmptyList.visibility = View.GONE
Expand Down

0 comments on commit d1765e5

Please sign in to comment.