MCPcopy Index your code
hub / github.com/blazsolar/HorizontalPicker

github.com/blazsolar/HorizontalPicker @1.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.0.1 ↗ · + Follow
87 symbols 166 edges 2 files 12 documented · 14%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

HorizontalPicker

HorizontalPicker is an open source android library that enables users to select single item by scrolling or tapping left and right to move between an array of items.

Maven Central

Example

screen recording

Dependencies

compile 'com.wefika:horizontal-picker:<version>'

Usage

<com.wefika.horizontalpicker.HorizontalPicker
        xmlns:picker="http://schemas.android.com/apk/res/com.wefika.horizontalpicker"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:textColor="@color/textColor"
        android:textSize="@dimen/textSize"
        android:ellipsize="none | start | middle | end | marquee"
        android:marqueeRepeatLimit="-1"
        picker:values="@array/values"
        picker:dividerSize="@dimen/itemPadding"
        picker:sideItems="@integer/sideItems" />

License

Copyright 2014 Blaž Šolar

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.

Extension points exported contracts — how you extend this code

OnItemSelected (Interface)
(no doc) [1 implementers]
HorizontalPicker/src/main/java/com/wefika/horizontalpicker/HorizontalPicker.java
OnItemClicked (Interface)
(no doc) [1 implementers]
HorizontalPicker/src/main/java/com/wefika/horizontalpicker/HorizontalPicker.java

Core symbols most depended-on inside this repo

getScrollRange
called by 5
HorizontalPicker/src/main/java/com/wefika/horizontalpicker/HorizontalPicker.java
setEllipsize
called by 4
HorizontalPicker/src/main/java/com/wefika/horizontalpicker/HorizontalPicker.java
startMarqueeIfNeeded
called by 3
HorizontalPicker/src/main/java/com/wefika/horizontalpicker/HorizontalPicker.java
stopMarqueeIfNeeded
called by 3
HorizontalPicker/src/main/java/com/wefika/horizontalpicker/HorizontalPicker.java
smoothScrollBy
called by 3
HorizontalPicker/src/main/java/com/wefika/horizontalpicker/HorizontalPicker.java
getPositionFromCoordinates
called by 3
HorizontalPicker/src/main/java/com/wefika/horizontalpicker/HorizontalPicker.java
isRtl
called by 2
HorizontalPicker/src/main/java/com/wefika/horizontalpicker/HorizontalPicker.java
getTextDirectionHeuristic
called by 2
HorizontalPicker/src/main/java/com/wefika/horizontalpicker/HorizontalPicker.java

Shape

Method 80
Class 5
Interface 2

Languages

Java100%

Modules by API surface

HorizontalPicker/src/main/java/com/wefika/horizontalpicker/HorizontalPicker.java83 symbols
HorizontalPickerExample/src/main/java/com/wefika/horizontalpicker/example/MainActivity.java4 symbols

For agents

$ claude mcp add HorizontalPicker \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page