Package renetik.android.controller.extensions
Types
Link copied to clipboard
class CSPropertyCondition<T>(val property: CSProperty<T>, val condition: (T?) -> Boolean?) : CSCondition
Content copied to clipboard
Link copied to clipboard
class CSPropertyConditionList(val evaluate: CSPropertyConditionList.() -> Unit)
Content copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
fun <View : CSViewInterface> ViewGroup.add(view: View, index: Int = -1): View
Content copied to clipboard
fun <View : CSViewInterface> ViewGroup.add( view: View, layout: ViewGroup.LayoutParams, index: Int = -1): View
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun CSActivityView<*>.getDeniedPermissions(permissions: List<String>): Array<String>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T : View, ViewController : CSActivityView<T>> ViewController.push(): ViewController
Content copied to clipboard
fun <T : View, ViewController : CSActivityView<T>> ViewController.push(pushKey: String): ViewController
Content copied to clipboard
Link copied to clipboard
fun <T : View, ViewController : CSActivityView<T>> ViewController.pushAsLast(): ViewController
Content copied to clipboard
Link copied to clipboard
fun <T : View, ViewController : CSActivityView<T>> ViewController.pushMain(): ViewController
Content copied to clipboard
Link copied to clipboard
fun CSActivityView<*>.requestPermissions(permissions: List<String>, onGranted: () -> Unit)
Content copied to clipboard
fun CSActivityView<*>.requestPermissions( permissions: List<String>, onGranted: () -> Unit? = null, notGranted: () -> Unit? = null)
Content copied to clipboard
Link copied to clipboard
fun CSActivityView<*>.requestPermissionsWithForce(permissions: List<String>, onGranted: () -> Unit)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T : CSActivityView<*>> T.sendMail( email: String, subject: String, text: String)
Content copied to clipboard
fun <T : CSActivityView<*>> T.sendMail( emails: List<String>, subject: String, body: CharSequence, attachment: File)
Content copied to clipboard
fun <T : CSActivityView<*>> T.sendMail( emails: List<String>, subject: String, body: CharSequence, attachments: List<File>)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun CSActivityView<*>.startActivity(activityClass: Class<out AppCompatActivity>)
Content copied to clipboard
fun CSActivityView<*>.startActivity(activityClass: Class<out AppCompatActivity>, extras: Map<String, String>)
Content copied to clipboard
Link copied to clipboard
fun CSActivityView<*>.startActivityForResult(intent: Intent, requestCode: Int)
Content copied to clipboard
fun CSActivityView<*>.startActivityForResult(activityClass: Class<out AppCompatActivity>, requestCode: Int)
Content copied to clipboard
fun CSActivityView<*>.startActivityForResult( intent: Intent, onSuccess: (Intent?) -> Unit, onFailure: (CSStartActivityResult) -> Unit? = null)
Content copied to clipboard
Link copied to clipboard
fun <T : CSActivityView<*>> T.startActivityForUri(uri: Uri, onActivityNotFound: (ActivityNotFoundException) -> Unit? = null)
Content copied to clipboard
Link copied to clipboard
fun <T : CSActivityView<*>> T.startActivityForUriAndType( uri: Uri, type: String?, onActivityNotFound: (ActivityNotFoundException) -> Unit? = null)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun CSActivityView<*>.switchActivity(activityClass: Class<out AppCompatActivity>)
Content copied to clipboard
fun CSActivityView<*>.switchActivity(activityClass: Class<out AppCompatActivity>, resultCode: Int)
Content copied to clipboard
Properties
Link copied to clipboard
val <T : View> CSActivityView<T>.fragmentTransaction: FragmentTransaction
Content copied to clipboard