Back to project page android-view-selector.
The source code is released under:
Copyright (c) 2013 Nik Haldimann Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Soft...
If you think the Android project android-view-selector listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.nikhaldimann.viewselector.checker; /*from w w w. j a v a2 s.c o m*/ import android.view.View; /** * A collection of predefined predicates. */ public class MatchPredicates { private MatchPredicates() { } /** * A predicate that's always false, matches no view. */ public static final MatchPredicate ALWAYS_FALSE_PREDICATE = new MatchPredicate() { public boolean matches(View view) { return false; } }; /** * A predicate that's always true, matches all views. */ public static final MatchPredicate ALWAYS_TRUE_PREDICATE = new MatchPredicate() { public boolean matches(View view) { return true; } }; }