Add toasts for non-functional fabs
This commit is contained in:
parent
5baa2738fe
commit
5b1d7331e7
|
@ -8,6 +8,7 @@ import android.util.Log;
|
|||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.Toast;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
@ -46,6 +47,8 @@ public class ChatListFragment extends Fragment {
|
|||
ButterKnife.bind(this, view);
|
||||
|
||||
recyclerView.setAdapter(recyclerViewAdapter);
|
||||
|
||||
fab.setOnClickListener(v -> Toast.makeText(getContext(), R.string.not_yet_implemented, Toast.LENGTH_SHORT).show());
|
||||
return view;
|
||||
}
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ import android.os.Bundle;
|
|||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.Toast;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
@ -27,6 +28,8 @@ public class BookmarkListFragment extends Fragment {
|
|||
View view = inflater.inflate(R.layout.fragment_bookmarks_list, container, false);
|
||||
ButterKnife.bind(this, view);
|
||||
|
||||
fab.setOnClickListener(v -> Toast.makeText(getContext(), R.string.not_yet_implemented, Toast.LENGTH_SHORT).show());
|
||||
|
||||
return view;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,7 @@ import android.util.Log;
|
|||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.Toast;
|
||||
|
||||
import androidx.fragment.app.Fragment;
|
||||
import androidx.lifecycle.ViewModelProvider;
|
||||
|
@ -47,6 +48,7 @@ public class ContactListFragment extends Fragment {
|
|||
|
||||
recyclerView.setAdapter(recyclerViewAdapter);
|
||||
|
||||
fab.setOnClickListener(v -> Toast.makeText(getContext(), R.string.not_yet_implemented, Toast.LENGTH_SHORT).show());
|
||||
return view;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue