From 3a037aba74095b825dc23350bb329f93b0df6a4f Mon Sep 17 00:00:00 2001 From: Sam Van Kooten Date: Sun, 24 Mar 2019 18:40:19 -0600 Subject: [PATCH] Copy license text over to new files --- .../viewer/viewholder/DefaultViewHolder.kt | 18 +++++++++++++++++- .../viewholder/DefaultViewHolderLoader.kt | 18 +++++++++++++++++- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/imageviewer/src/main/java/com/stfalcon/imageviewer/viewer/viewholder/DefaultViewHolder.kt b/imageviewer/src/main/java/com/stfalcon/imageviewer/viewer/viewholder/DefaultViewHolder.kt index b03a0c4..cba9b11 100644 --- a/imageviewer/src/main/java/com/stfalcon/imageviewer/viewer/viewholder/DefaultViewHolder.kt +++ b/imageviewer/src/main/java/com/stfalcon/imageviewer/viewer/viewholder/DefaultViewHolder.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2018 stfalcon.com + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.stfalcon.imageviewer.viewer.viewholder import android.view.View @@ -44,4 +60,4 @@ open class DefaultViewHolder(itemView: View) // Subclasses may respond when this ViewHolder's View moves on or off the screen open fun setIsVisible(isVisible: Boolean) {} -} \ No newline at end of file +} diff --git a/imageviewer/src/main/java/com/stfalcon/imageviewer/viewer/viewholder/DefaultViewHolderLoader.kt b/imageviewer/src/main/java/com/stfalcon/imageviewer/viewer/viewholder/DefaultViewHolderLoader.kt index cd28c9f..13e8838 100644 --- a/imageviewer/src/main/java/com/stfalcon/imageviewer/viewer/viewholder/DefaultViewHolderLoader.kt +++ b/imageviewer/src/main/java/com/stfalcon/imageviewer/viewer/viewholder/DefaultViewHolderLoader.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2018 stfalcon.com + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.stfalcon.imageviewer.viewer.viewholder import com.github.chrisbanes.photoview.PhotoView @@ -5,4 +21,4 @@ import com.github.chrisbanes.photoview.PhotoView class DefaultViewHolderLoader : ViewHolderLoader { override fun loadViewHolder(photoView: PhotoView) = DefaultViewHolder(photoView) -} \ No newline at end of file +}