File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -65,13 +65,12 @@ Add the dependency
6565
6666 QRView qrView = findViewById(R . id. qrView);
6767
68- qrView. setData(" https://chtgupta.github.io" ) // the only required method, rest all are optional
69-
70- .setSize(120 , QRParams . DP )
71- .setErrorCorrectionLevel(ErrorCorrection . H )
72- .setQRForegroundColor(Color . BLACK )
73- .setQRBackgroundColor(Color . WHITE )
74- .addListener(new QRViewListener () {
68+ qrView. setData(" https://chtgupta.github.io" ) // required
69+ .setSize(120 , QRParams . DP ) // optional
70+ .setErrorCorrectionLevel(ErrorCorrection . H ) // optional
71+ .setQRForegroundColor(Color . BLACK ) // optional
72+ .setQRBackgroundColor(Color . WHITE ) // optional
73+ .addListener(new QRViewListener () { // optional
7574 @Override
7675 public void onQRInitiated () {
7776 // fired when QR generation starts
@@ -92,7 +91,7 @@ Add the dependency
9291 // fired if an error is encountered while generating QR
9392 }
9493 })
95- .build(); // always call build() after adding all methods and listener
94+ .build(); // required: always call build() after adding all methods and listener
9695```
9796
9897## Release History
You can’t perform that action at this time.
0 commit comments