app/src/main/java/com/github/steroidteam/todolist/view/NoteDisplayFragment.java
File NoteDisplayFragment.java
has 323 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
package com.github.steroidteam.todolist.view;
import static com.github.steroidteam.todolist.util.Utils.getRoundedBitmap;
import static com.github.steroidteam.todolist.view.NoteSelectionFragment.NOTE_ID_KEY;
Method setNavOnClickListeners
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
private void setNavOnClickListeners(View root) {
root.findViewById(R.id.location_button)
.setOnClickListener(
v -> {
getParentFragmentManager()
Method updateHeader
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void updateHeader(Optional<UUID> optionalUUID) {
ConstraintLayout header = getView().findViewById(R.id.note_header);
if (optionalUUID.isPresent()) {
Method onCreateView
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
public View onCreateView(
@NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
View root = inflater.inflate(R.layout.fragment_note_display, container, false);