You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.5 KiB
47 lines
1.5 KiB
@startuml
|
|
class com.example.music.MusicAdapter {
|
|
- Context mContext
|
|
- ArrayList<MusicFiles> mFiles
|
|
~ <<Create>> MusicAdapter(Context,ArrayList<MusicFiles>)
|
|
+ MyVieHolder onCreateViewHolder(ViewGroup,int)
|
|
+ void onBindViewHolder(MyVieHolder,int)
|
|
- void deleteFlie(int,View)
|
|
+ int getItemCount()
|
|
- byte[] getAlbumArt(String)
|
|
}
|
|
class com.example.music.MusicAdapter$MyVieHolder {
|
|
~ TextView file_name
|
|
~ ImageView album_art
|
|
+ <<Create>> MyVieHolder(View)
|
|
}
|
|
class com.example.music.AlbumAdapter {
|
|
- Context mContext
|
|
- ArrayList<MusicFiles> albumFiles
|
|
~ View view
|
|
+ <<Create>> AlbumAdapter(Context,ArrayList<MusicFiles>)
|
|
+ MyHolder onCreateViewHolder(ViewGroup,int)
|
|
+ void onBindViewHolder(MyHolder,int)
|
|
+ int getItemCount()
|
|
- byte[] getAlbumArt(String)
|
|
}
|
|
class com.example.music.AlbumAdapter$MyHolder {
|
|
~ ImageView album_image
|
|
~ TextView album_name
|
|
+ <<Create>> MyHolder(View)
|
|
}
|
|
class com.example.music.PagerAdapter {
|
|
- int tabsNumber
|
|
+ <<Create>> PagerAdapter(FragmentManager,int,int)
|
|
+ Fragment getItem(int)
|
|
+ int getCount()
|
|
}
|
|
|
|
|
|
com.example.music.Adapter <|-- com.example.music.MusicAdapter
|
|
com.example.music.MusicAdapter +.. com.example.music.MusicAdapter$MyVieHolder
|
|
com.example.music.ViewHolder <|-- com.example.music.MusicAdapter$MyVieHolder
|
|
com.example.music.Adapter <|-- com.example.music.AlbumAdapter
|
|
com.example.music.AlbumAdapter +.. com.example.music.AlbumAdapter$MyHolder
|
|
com.example.music.ViewHolder <|-- com.example.music.AlbumAdapter$MyHolder
|
|
androidx.fragment.app.FragmentPagerAdapter <|-- com.example.music.PagerAdapter
|
|
@enduml |