Skip to content

Commit

Permalink
Copy license text over to new files
Browse files Browse the repository at this point in the history
  • Loading branch information
svank committed Mar 25, 2019
1 parent 90a662d commit 3a037ab
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -44,4 +60,4 @@ open class DefaultViewHolder<T>(itemView: View)

// Subclasses may respond when this ViewHolder's View moves on or off the screen
open fun setIsVisible(isVisible: Boolean) {}
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
/*
* 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


class DefaultViewHolderLoader<T> : ViewHolderLoader<T> {
override fun loadViewHolder(photoView: PhotoView) = DefaultViewHolder<T>(photoView)
}
}

0 comments on commit 3a037ab

Please sign in to comment.