Made attributes of model classes private

This commit is contained in:
CappielloAntonio 2021-08-12 10:40:07 +02:00
parent 42731aef75
commit 00b85e5bc2
4 changed files with 30 additions and 30 deletions

View file

@ -6,10 +6,10 @@ import android.os.Parcelable;
import androidx.annotation.NonNull;
public class Genre implements Parcelable {
public String id;
public String name;
public int songCount;
public int albumCount;
private String id;
private String name;
private int songCount;
private int albumCount;
public Genre(com.cappielloantonio.play.subsonic.models.Genre genre) {
this.id = genre.getGenre();