Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Cleanup extensions #94

Merged
merged 3 commits into from
Apr 18, 2022
Merged

Cleanup extensions #94

merged 3 commits into from
Apr 18, 2022

Conversation

Goooler
Copy link
Owner

@Goooler Goooler commented Apr 18, 2022

No description provided.

@Goooler Goooler added this to the 1.6.0 milestone Apr 18, 2022
@@ -150,7 +150,7 @@ fun TextView.hideTextInputLayoutErrorOnTextChange(textInputLayout: TextInputLayo
doAfterTextChanged { textInputLayout.error = null }
}

inline fun <reified T> DiffUtil.ItemCallback<T>.asConfig(): AsyncDifferConfig<T> {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed this in #58

Comment on lines -664 to -667

@MainThread
inline fun <reified T : ViewDataBinding> Activity.binding(@LayoutRes resId: Int): Lazy<T> =
lazy(LazyThreadSafetyMode.NONE) { DataBindingUtil.setContentView(this, resId) }
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed this in #75

@Goooler Goooler merged commit 12ff6cc into trunk Apr 18, 2022
@Goooler Goooler deleted the extension branch April 18, 2022 06:08
@Goooler Goooler mentioned this pull request Apr 18, 2022
3 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant