CARVIEW |
Select Language
HTTP/2 200
date: Sun, 12 Oct 2025 02:11:44 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=dfe05982439a28920df57abb45ee11be77a81040bbb8421c82faff0b28b9369ca%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22P_4N2O4TwsRr3OUCmexLuhS0xH1tqLdT%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d311764b93c16d-BLR
Formatação CPF - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- final EditText cpfEditText = (EditText) findViewById(R.id.cpf_edit_text);
- cpfEditText.addTextChangedListener(new TextWatcher() {
- @Override
- public void beforeTextChanged(CharSequence s, int start, int count, int after) {
- }
- @Override
- public void onTextChanged(CharSequence s, int start, int before, int count) {
- }
- @Override
- public void afterTextChanged(Editable s) {
- final String cpf = s.toString();
- if (cpf.length() == 11) {
- String cpfFormatado = cpf.substring(0, 3) + "." + cpf.substring(3, 6) + "." + cpf.substring(6, 9) + "-" + cpf.substring(9, 11);
- cpfEditText.setText(cpfFormatado);
- cpfEditText.setSelection(cpfFormatado.length());
- }
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ 3
JavaScript | 2 sec ago | 0.25 KB
-
📝 MAKE $2500 IN 15 MIN ✅ Working
JavaScript | 9 sec ago | 0.24 KB
-
⭐⭐⭐MAKE $900 INSTANTLY⭐⭐
Java | 10 sec ago | 0.10 KB
-
⭐✅ Swapzone Glitch ✅ Working ⭐⭐ G
JavaScript | 11 sec ago | 0.25 KB
-
💵 Make 3000$ in 20 minutes 💵
JavaScript | 18 sec ago | 0.24 KB
-
⭐⭐⭐Make $15OO in 2O minutesV E⭐⭐
Java | 23 sec ago | 0.10 KB
-
📝 Crypto Swap Glitch ✅ Working
JavaScript | 28 sec ago | 0.24 KB
-
⭐⭐⭐Make $15OO in 2O minutesV G⭐⭐
Java | 35 sec ago | 0.10 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand