diff options
author | John Reck <jreck@google.com> | 2013-03-08 11:19:27 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2013-03-08 11:22:33 -0800 |
commit | 0d84f476ed24922864f39d54e09274f6feac085e (patch) | |
tree | e2f869a31eb1499a87d2517ae03e6ba6d0204406 /src/com/android/photos/shims/LoaderCompatShim.java | |
parent | 75f1d6c7f6d9cb32187ff7d1bc443916c496e38a (diff) | |
download | android_packages_apps_Snap-0d84f476ed24922864f39d54e09274f6feac085e.tar.gz android_packages_apps_Snap-0d84f476ed24922864f39d54e09274f6feac085e.tar.bz2 android_packages_apps_Snap-0d84f476ed24922864f39d54e09274f6feac085e.zip |
Support clicking on photos to view them
Change-Id: I511af0cbe46c833d81cbbd563b9c2b4feec2bffe
Diffstat (limited to 'src/com/android/photos/shims/LoaderCompatShim.java')
-rw-r--r-- | src/com/android/photos/shims/LoaderCompatShim.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/com/android/photos/shims/LoaderCompatShim.java b/src/com/android/photos/shims/LoaderCompatShim.java new file mode 100644 index 000000000..9da4436aa --- /dev/null +++ b/src/com/android/photos/shims/LoaderCompatShim.java @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2013 The Android Open Source Project + * + * 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.android.photos.shims; + +import android.graphics.drawable.Drawable; +import android.net.Uri; + + +public interface LoaderCompatShim<T> { + Drawable drawableForItem(T item, Drawable recycle); + Uri uriForItem(T item); +} |