Skip to content
This repository was archived by the owner on Aug 22, 2024. It is now read-only.

Conversation

@hossain-khan
Copy link
Owner

No description provided.

https://codebeat.co/projects/github-com-amardeshbd-android-constraint-layout-cheatsheet-master/pull_requests/221367

```
There is similar code in two places
infomass = 150, difference = 2
app/src/main/java/com/hossainkhan/android/demo/layoutpreview/LayoutGuidelineBarrierActivity.kt
companion object {
    /**
     * Creates an intent with required information to start this activity.
     *
     * @param context Activity context.
     */
    fun createStartIntent(context: Context): Intent {
        val intent = Intent(context, LayoutGuidelineBarrierActivity::class.java)
        intent.putExtra(BUNDLE_KEY_LAYOUT_RESID, R.layout.preview_virtual_helper_barrier)
        return intent
    }
}
app/src/main/java/com/hossainkhan/android/demo/layoutpreview/LayoutChainStyleActivity.kt
companion object {
    /**
     * Creates an intent with required information to start this activity.
     *
     * @param context Activity context.
     */
    fun createStartIntent(context: Context): Intent {
        val intent = Intent(context, LayoutChainStyleActivity::class.java)
        intent.putExtra(BUNDLE_KEY_LAYOUT_RESID, R.layout.preview_chain_style_main)
        return intent
    }
}
```
@hossain-khan hossain-khan merged commit 20b9209 into master Apr 6, 2019
@hossain-khan hossain-khan deleted the 50-virtual-guideline-barrier branch April 6, 2019 13:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants