diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2013-04-22 08:35:53 +0200 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2013-04-22 08:35:53 +0200 |
| commit | 9dac2f6bb2bf6849ec74a3438b17e1c85e1b01a8 (patch) | |
| tree | 8fe7e6695ea738e24bf611fc2c045f4cdea8e57e /main/thirdparty/com/viewpagerindicator/TitleProvider.java | |
| parent | fceb3c05fd6ca7108b536ec2b9b0ab9e50cfba1e (diff) | |
| download | cgeo-9dac2f6bb2bf6849ec74a3438b17e1c85e1b01a8.zip cgeo-9dac2f6bb2bf6849ec74a3438b17e1c85e1b01a8.tar.gz cgeo-9dac2f6bb2bf6849ec74a3438b17e1c85e1b01a8.tar.bz2 | |
refactoring: move third party code into new source path
* makes it more easy to ignore warnings in third party code
Diffstat (limited to 'main/thirdparty/com/viewpagerindicator/TitleProvider.java')
| -rw-r--r-- | main/thirdparty/com/viewpagerindicator/TitleProvider.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/main/thirdparty/com/viewpagerindicator/TitleProvider.java b/main/thirdparty/com/viewpagerindicator/TitleProvider.java new file mode 100644 index 0000000..2a04b65 --- /dev/null +++ b/main/thirdparty/com/viewpagerindicator/TitleProvider.java @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2011 Patrik Akerfeldt + * + * 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.viewpagerindicator; + +/** + * A TitleProvider provides the title to display according to a view. + */ +public interface TitleProvider { + /** + * Returns the title of the view at position + * @param position + * @return + */ + public String getTitle(int position); +} |
