#Heading 1 ##Heading 2 ###Heading 3 ####Heading 4 #####Heading 5 ######Heading 6
Paragraph
| Option 1 - | |
| ========== | |
| inline fun <reified T, Y> MutableList<T>.listOfField(property: KMutableProperty1<T, Y?>): MutableList<Y> { | |
| val yy = ArrayList<Y>() | |
| this.forEach { t: T -> | |
| yy.add(property.get(t) as Y) | |
| } | |
| return yy | |
| } |
#Heading 1 ##Heading 2 ###Heading 3 ####Heading 4 #####Heading 5 ######Heading 6
Paragraph
| implementation 'androidx.activity:activity:1.2.0-alpha05' | |
| implementation 'androidx.activity:activity-ktx:1.2.0-alpha05' | |
| //You must use fragment 1.3.0-alpha02 or later | |
| implementation 'androidx.fragment:fragment:1.3.0-alpha05' | |
| implementation 'androidx.fragment:fragment-ktx:1.3.0-alpha05' |
| ActivityResultLauncher<Intent> mStartForResult = registerForActivityResult(new StartActivityForResult(), | |
| new ActivityResultCallback<ActivityResult>() { | |
| @Override | |
| public void onActivityResult(ActivityResult result) { | |
| if (result.getResultCode() == Activity.RESULT_OK) { | |
| Intent intent = result.getIntent(); | |
| // Handle the Intent | |
| } | |
| } | |
| }); |
| val getContent = registerForActivityResult(GetContent()) { uri: Uri? -> | |
| // Handle the returned Uri | |
| } | |
| override fun onCreate(savedInstanceState: Bundle?) { | |
| // ... | |
| val selectButton = findViewById<Button>(R.id.select_button) | |
| selectButton.setOnClickListener { |
| package xxx.xxx.xxx | |
| /* | |
| * @author Anoop M <[email protected]> | |
| * @version 1 | |
| * @since 03 July 2019 | |
| * | |
| */ | |
| import android.app.Activity |
| ELEMENT,REACT NATIVE,IONIC 2 | |
| Powered By,"Based on React backed on Facebook","Based on Angular 2 backed by Google" | |
| The Language stack,"React Native is based on the Javascript framework React and, thus, uses Javascript code that resembles HTML but essentially isn’t—they call it. JSX( is a preprocessor step that adds XML syntax to JavaScript). With that, the display logic is blended in with the business logic.","HTML5, SASS, Angularjs , Cordova & TypeScript( A strict syntactical superset of JavaScript ). Ionic is a framework based on Angularjs, a Javascript framework. It uses HTML templates for its views. It is in line with the Model-View-Controller pattern as views and logic are clearly separated." | |
| Boot up time,"Boot up time is as fast as native apps","Boot up time is as fast as native apps" | |
| Memory Usage,"When it comes to memory usage, Ionic framework uses more than react native apps. can feel a little clunky but this can be mitigated with good design practises.","React native is a memory saver as it supports t |