parent
8c848bd1ef
commit
a167e976a8
|
@ -146,6 +146,17 @@
|
||||||
<option name="screenX" value="1080" />
|
<option name="screenX" value="1080" />
|
||||||
<option name="screenY" value="2340" />
|
<option name="screenY" value="2340" />
|
||||||
</PersistentDeviceSelectionData>
|
</PersistentDeviceSelectionData>
|
||||||
|
<PersistentDeviceSelectionData>
|
||||||
|
<option name="api" value="34" />
|
||||||
|
<option name="brand" value="samsung" />
|
||||||
|
<option name="codename" value="e3q" />
|
||||||
|
<option name="id" value="e3q" />
|
||||||
|
<option name="manufacturer" value="Samsung" />
|
||||||
|
<option name="name" value="Galaxy S24 Ultra" />
|
||||||
|
<option name="screenDensity" value="450" />
|
||||||
|
<option name="screenX" value="1440" />
|
||||||
|
<option name="screenY" value="3120" />
|
||||||
|
</PersistentDeviceSelectionData>
|
||||||
<PersistentDeviceSelectionData>
|
<PersistentDeviceSelectionData>
|
||||||
<option name="api" value="33" />
|
<option name="api" value="33" />
|
||||||
<option name="brand" value="google" />
|
<option name="brand" value="google" />
|
||||||
|
|
|
@ -354,6 +354,14 @@ class AudioContentMainFragment : BaseFragment<FragmentAudioContentMainBinding>(
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AudioContentBannerType.SERIES -> {
|
||||||
|
startActivity(
|
||||||
|
Intent(requireContext(), SeriesDetailActivity::class.java).apply {
|
||||||
|
putExtra(Constants.EXTRA_SERIES_ID, it.seriesId!!)
|
||||||
|
}
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
AudioContentBannerType.LINK -> {
|
AudioContentBannerType.LINK -> {
|
||||||
startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(it.link!!)))
|
startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(it.link!!)))
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,6 +56,7 @@ data class GetAudioContentBannerResponse(
|
||||||
@SerializedName("thumbnailImageUrl") val thumbnailImageUrl: String,
|
@SerializedName("thumbnailImageUrl") val thumbnailImageUrl: String,
|
||||||
@SerializedName("eventItem") val eventItem: EventItem?,
|
@SerializedName("eventItem") val eventItem: EventItem?,
|
||||||
@SerializedName("creatorId") val creatorId: Long?,
|
@SerializedName("creatorId") val creatorId: Long?,
|
||||||
|
@SerializedName("seriesId") val seriesId: Long?,
|
||||||
@SerializedName("link") val link: String?
|
@SerializedName("link") val link: String?
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -67,5 +68,8 @@ enum class AudioContentBannerType {
|
||||||
CREATOR,
|
CREATOR,
|
||||||
|
|
||||||
@SerializedName("LINK")
|
@SerializedName("LINK")
|
||||||
LINK
|
LINK,
|
||||||
|
|
||||||
|
@SerializedName("SERIES")
|
||||||
|
SERIES
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue