Skip to content

Instantly share code, notes, and snippets.

@molidev8
Created December 7, 2022 19:05
Show Gist options
  • Save molidev8/9363241fbb357b4a1924391f6257d7bc to your computer and use it in GitHub Desktop.
Save molidev8/9363241fbb357b4a1924391f6257d7bc to your computer and use it in GitHub Desktop.
CustomSwitchManager interface
interface CustomSwitchManager {
fun initView(
context: Context,
viewGroup: ViewGroup,
animText: Boolean,
manual: Boolean,
textVisible: Boolean,
text: String
)
fun setAnimText(shouldAnim: Boolean)
fun setManual(shouldBeManual: Boolean)
fun setTextVisible(shouldBeVisible: Boolean)
fun setText(text: String)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment