File tree Expand file tree Collapse file tree 3 files changed +25
-1
lines changed
src/main/java/com/skydoves/doublelift Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ dependencies {
2121}
2222
2323dokka {
24- moduleName = ' rainbow '
24+ moduleName = ' doublelift '
2525 outputFormat = ' html'
2626 // noinspection GroovyAccessibility
2727 outputDirectory = " $buildDir /javadoc"
Original file line number Diff line number Diff line change @@ -236,6 +236,7 @@ class DoubleLiftLayout : FrameLayout {
236236 }
237237 }
238238
239+ /* * Builder class for creating [DoubleLiftLayout]. */
239240 @DoubleLiftLayoutDsl
240241 class Builder (context : Context ) {
241242 private val doubleLiftLayout = DoubleLiftLayout (context)
Original file line number Diff line number Diff line change 1+ /*
2+ * Designed and developed by 2019 skydoves (Jaewoong Eum)
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
17+ package com.skydoves.doublelift
18+
19+ import android.content.Context
20+
21+ /* * creates an instance of [DoubleLiftLayout] by [DoubleLiftLayout.Builder] using kotlin dsl. */
22+ fun doubleLiftLayout (context : Context , block : DoubleLiftLayout .Builder .() -> Unit ): DoubleLiftLayout =
23+ DoubleLiftLayout .Builder (context).apply (block).build()
You can’t perform that action at this time.
0 commit comments