mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-01-23 22:38:04 -05:00
Add filtering test
This commit is contained in:
@@ -93,6 +93,9 @@ public class MainActivity extends AppCompatActivity
|
||||
if(db.getLoyaltyCardCount() > 0)
|
||||
{
|
||||
filter.setVisibility(View.VISIBLE);
|
||||
// We want the cardList to be visible regardless of the filtered match count
|
||||
// to ensure that the noMatchingCardsText doesn't end up being shown below
|
||||
// the keyboard
|
||||
cardList.setVisibility(View.VISIBLE);
|
||||
helpText.setVisibility(View.GONE);
|
||||
if(db.getLoyaltyCardCount(filterText) > 0)
|
||||
|
||||
Reference in New Issue
Block a user