ahampe / ahampe/KDVS

Refactor music item ontology

Aberta
#41 0 comentários 0 reações 0 responsáveis Ver no GitHub
refactor
Linguagem predominante
Kotlin
Estrelas
1
Forks
0
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Ideally, our classes referencing music items (e.g. TopMusic, Track) should be refactored such that we have a single 'MusicDetailsFragment', since they have similar use-cases. I started work on this awhile back (by creating an abstract MusicEntity class) but ran into some issues.

Namely, when data-binding the MusicDetails layout, we would need to know at runtime whether we're binding TopMusic or Tracks. I'm sure there's a canonical way to do this, but binding through the XML seems problematic with this approach.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

Start by locating TopMusic, Track, the existing MusicEntity abstraction, MusicDetailsFragment, and the MusicDetails data-binding layout. Read how those classes are currently used and determine whether one fragment can support both item types without problematic XML binding. Done means the shared design is implemented and both music-item use cases bind correctly.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
android, kotlin
Domínio
mobile
Tipo de issue
Refatoração
Dificuldade
5/5
Tempo estimado
Mais de uma semana
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
25/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.