Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はカスタムTransformFilterでLinkifyを使用しています。私のパターンの最初の出現のみに一致するようにlinkifyに指示することは可能ですか?
このように、MatchFilterを使用します
MatchFilter matcher = new MatchFilter() { boolean firstTime; @Override public boolean acceptMatch(CharSequence s, int start, int end) { if(firstTime) { return true; firstTime = false; } else { return false; } } };
それが役に立てば幸い