Package-level declarations
CSView<V> and CSActivityView<V> — lifecycle-aware view wrappers with parent/child destruction, registrations and activity resume/pause/back hooks.
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class CSActivityView<ViewType : View> : CSView<ViewType> , CSActivityViewInterface, LifecycleOwner, CSHasRegistrations
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class CSPropertyCondition<T>(val property: CSProperty<T>, val condition: (T?) -> Boolean?) : CSCondition
Link copied to clipboard
Link copied to clipboard
class CSRequestPermissionResult(val requestCode: Int, val permissions: Array<String>, val statuses: IntArray)
Link copied to clipboard
Link copied to clipboard
abstract class CSViewActivity<ActivityView : CSActivityView<out ViewGroup>> : CSActivity, CSActivityViewInterface, CSVisibility
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
fun <T : View> CSActivityView<*>.activityView(@IdRes viewId: Int, init: CSActivityView<T>.() -> Unit): CSActivityView<T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun CSView<*>.onSensorOrientationChange(function: (CSRegistration?, CSDisplayOrientation) -> Unit): CSRegistration?
Link copied to clipboard
fun <T : View, ViewController : CSActivityView<T>> ViewController.push(pushKey: String): ViewController
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun CSActivity.requestPermissions(permissions: List<String>, onGranted: () -> Unit? = null, onNotGranted: () -> Unit? = null, onDone: () -> Unit? = null)
fun CSActivityView<*>.requestPermissions(permissions: List<String>, onGranted: () -> Unit? = null, onNotGranted: () -> Unit? = null, onDone: () -> Unit? = null)
Link copied to clipboard
Link copied to clipboard
fun <T : CSActivityView<*>> T.sendMail(emails: List<String>, subject: String, body: CharSequence, attachment: File)
fun <T : CSActivityView<*>> T.sendMail(emails: List<String>, subject: String, body: CharSequence, attachments: List<File>)
Link copied to clipboard
Link copied to clipboard
fun <T : CSViewInterface> T.setPercentWidth(view: View, percent: Int, minimal: Int = 0, maximal: Int = 0): T