We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d35c7a commit 1dc7d67Copy full SHA for 1dc7d67
test-app/app/src/debug/java/com/tns/ErrorReport.java
@@ -286,14 +286,12 @@ public void onPageScrollStateChanged(int state) {
286
}
287
});
288
289
- this.setOnTabSelectedListener(tabLayout);
+ this.addOnTabSelectedListener(tabLayout);
290
291
292
- @SuppressWarnings("deprecation")
293
- private void setOnTabSelectedListener(TabLayout tabLayout) {
294
- tabLayout.setOnTabSelectedListener(this);
+ private void addOnTabSelectedListener(TabLayout tabLayout) {
+ tabLayout.addOnTabSelectedListener(this);
295
296
-
297
private static void createErrorFile(final Context context) {
298
try {
299
File errFile = new File(context.getFilesDir(), ERROR_FILE_NAME);
0 commit comments