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.
2 parents 5d35c7a + 1dc7d67 commit b82f8f2Copy full SHA for b82f8f2
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