Skip to content

CT-42/CT-153#72

Open
FlavioSabino wants to merge 5 commits intodevelopfrom
feature/create-chat-layout
Open

CT-42/CT-153#72
FlavioSabino wants to merge 5 commits intodevelopfrom
feature/create-chat-layout

Conversation

@FlavioSabino
Copy link

Ajustar layout da tela de Chat Inicial (Android)

  • criar menu
  • criar tema customsearchbartheme

@FlavioSabino FlavioSabino requested review from JorgeTranin and natanaelsc and removed request for natanaelsc July 13, 2024 04:31
@JorgeTranin JorgeTranin requested a review from natanaelsc July 15, 2024 13:39

import android.content.Context
import android.view.LayoutInflater
import android.view.View
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remover importação não utilizada.

override fun getItemCount() = listChat.size

override fun onBindViewHolder(holder: ChatViewHolder, position: Int) {
holder.name.text = listChat.get(position).name
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alterar a estrutura listChat.get(position).name para listChat[position].name.
A IDE chama a atenção desse aspecto. Não vai alterar a forma como o código funciona

listChat.add(messade10)


}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fica ligado na estética do código. Remove os espaços desnecessários.
Na sua IDE baixe o plugin "EditorConfig". Habilite em Settings → Editor → Code Style → Enable EditorConfig support.
Vai te ajudar a fazer isso no momento que o arquivo for salvo.

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants