class SubmarineView : FrameLayout
SubmarineView is floating navigation view that dynamically lists items.
SubmarineView(context: Context) SubmarineView(context: Context, attributeSet: AttributeSet) SubmarineView(context: Context, attributeSet: AttributeSet, defStyle: Int) |
var autoDip: Boolean |
|
var autoNavigate: Boolean |
|
var borderColor: Int |
|
var borderSize: Float |
|
var circleBorderColor: Int |
|
var circleBorderSize: Float |
|
val circleIcon: CircleImageView |
|
var circleImage: Drawable? |
|
var circlePadding: Float |
|
var circleSize: Float |
|
var color: Int |
|
var duration: Long |
|
var expandSize: Int |
|
var isFloating: Boolean |
|
var isNavigating: Boolean |
|
var radius: Float |
|
val recyclerView: RecyclerView |
|
var submarineAnimation: SubmarineAnimation |
|
var submarineCircleClickListener: SubmarineCircleClickListener? |
|
var submarineItemClickListener: SubmarineItemClickListener? |
fun addSubmarineItem(submarineItem: SubmarineItem): Unit
adds a SubmarineItem to the navigation adapter. |
|
fun addSubmarineItems(submarineItems: List<SubmarineItem>): Unit
adds a SubmarineItem list to the navigation adapter. |
|
fun clearAllSubmarineItems(): Unit
clears all of the SubmarineItem on the navigation adapter. |
|
fun dip(): Unit
dips the circle icon on the layer. |
|
fun float(): Unit
floats the circle icon on the layout. |
|
fun navigate(): Unit
spreads the navigation views and listing items. |
|
fun onFinishInflate(): Unit |
|
fun removeSubmarineItem(submarineItem: SubmarineItem): Unit
removes a SubmarineItem to the navigation adapter. |
|
fun retreat(): Unit
folds the navigation views and un-lists items. |