Skip to content

Commit e3873c7

Browse files
author
Roman Donchenko
committed
Change FAB handling
1 parent 9b0f01e commit e3873c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/example/d_rom/supportdesigndemo/MainActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ protected void onCreate(Bundle savedInstanceState) {
6565
@Override
6666
public void onTabSelected(TabLayout.Tab _tab) {
6767
super.onTabSelected(_tab);
68-
if (_tab.getPosition() % 2 == 0){
68+
if (_tab.getPosition() % 3 == 0){
6969
mFab.show();
7070
}else {
7171
mFab.hide();

0 commit comments

Comments
 (0)