File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
bubbleshowcase/src/main/java/com/elconfidencial/bubbleshowcase Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ class BubbleShowCaseBuilder{
210210 /* *
211211 * Build the BubbleShowCase object from the builder one
212212 */
213- fun build (): BubbleShowCase {
213+ private fun build (): BubbleShowCase {
214214 if (mIsFirstOfSequence == null )
215215 mIsFirstOfSequence = true
216216 if (mIsLastOfSequence == null )
@@ -222,7 +222,7 @@ class BubbleShowCaseBuilder{
222222 /* *
223223 * Show the BubbleShowCase using the params added previously
224224 */
225- fun show (){
225+ fun show (): BubbleShowCase {
226226 val bubbleShowCase = build()
227227 if (mTargetView != null ) {
228228 val targetView = mTargetView!! .get()
@@ -239,6 +239,7 @@ class BubbleShowCaseBuilder{
239239 } else {
240240 bubbleShowCase.show()
241241 }
242+ return bubbleShowCase
242243 }
243244
244245}
You can’t perform that action at this time.
0 commit comments