I hereby claim:
- I am sebaslogen on github.
- I am sebaslogen (https://keybase.io/sebaslogen) on keybase.
- I have a public key ASC32nccv5aNWfjyCGsuI4fwejoCRfoApEyoxnwE5TwRjgo
To claim this, I am signing this object:
| class MyCustomView : View { | |
| constructor(context: Context) : super(context) | |
| constructor(context: Context, attrs: AttributeSet?) : super(context, attrs) | |
| constructor(context: Context, attrs: AttributeSet?, attributeSetId: Int) : super(context, attrs, attributeSetId) | |
| } |
| class MyCustomView @JvmOverloads constructor( | |
| context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0 | |
| ) : View(context, attrs, defStyleAttr) |
| public class Toolbar extends ViewGroup { | |
| public Toolbar(Context context, @Nullable AttributeSet attrs) { | |
| this(context, attrs, R.attr.toolbarStyle); | |
| } | |
| } |
| public class Toolbar extends ViewGroup { | |
| public Toolbar(Context context, @Nullable AttributeSet attrs) { | |
| this(context, attrs, getToolbarStyle()); | |
| } | |
| private static int getToolbarStyle() { | |
| return (BuildConfig.VERSION_CODE >= Build.VERSION_CODES.O) ? R.attr.newCompatToolbarStyle : R.attr.toolbarStyle; | |
| } | |
| } |
| [ | |
| { | |
| "id": 0362403, | |
| "title": "Dance - Smith Quartet", | |
| "image": "https://demo.com/03624.jpg" | |
| }, | |
| { | |
| "id": 06083706, | |
| "title": "Sixteen Contemporary Love Songs for Piano", | |
| "image": "https://demo.com/060837.jpg" |
| { | |
| "type": "componentScreen", | |
| "title": "Home", | |
| "sections": [ | |
| { | |
| "title": "New Releases", | |
| "type": "album", | |
| "items": [ | |
| { | |
| "title": "Dance - Smith Quartet", |
| { | |
| "title": "Dance - Smith Quartet", | |
| "image": "https://demo.com/624.jpg", | |
| "action": { | |
| "type": "ComponentScreen", | |
| "url": "/query/view/album/635212023624" | |
| } | |
| } |
| data class ComponentScreen(val title: String?, val sections: List<Section> = emptyList()) | |
| sealed class Section | |
| data class AlbumListSection(val title: String?, val items: List<AlbumListItem>) : Section() | |
| data class ShelfSection(val shelfStyle: ShelfItemStyle, val items: List<ShelfItem>) : Section() | |
| data class TrackListSection(val items: List<TrackListItem>) : Section() | |
| data class AlbumListItem(val title: String, val image: String, val action: Action) |
I hereby claim:
To claim this, I am signing this object: