ConnectOut-sdp/sdp2023

View on GitHub
app/src/main/java/com/sdpteam/connectout/chat/ChatViewModel.java

Summary

Maintainability
A
35 mins
Test Coverage
A
100%

Method setUpListAdapter has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public void setUpListAdapter(Function<FirebaseListOptions.Builder<ChatMessage>, FirebaseListOptions.Builder<ChatMessage>> setLayout,
                                 Function<FirebaseListOptions.Builder<ChatMessage>, FirebaseListOptions.Builder<ChatMessage>> setLifecycleOwner,
                                 BiConsumer<View, ChatMessage> populateView,
                                 Consumer<ListAdapter> setAdapter,
                                 String chatId) {
Severity: Minor
Found in app/src/main/java/com/sdpteam/connectout/chat/ChatViewModel.java - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status