Android Spinner assist trace
Including to challenge
Gradle
Add beneath code to your root construct.gradle file
repositories {
maven { url ‘https://jitpack.io‘ }
}
}
And add the next dependency code to your module’s construct.gradle file.
implementation ‘com.github.Mamoon-Alhawamdeh:AmazingSpinner:${latest-version}”
}
Utilization
fashion=“@fashion/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu“
android:layout_width=“match_parent“
android:layout_height=“wrap_content“
android:layout_marginLeft=“16dp“
android:layout_marginRight=“16dp“>
<com.rosemaryapp.amazingspinner.AmazingSpinner
fashion=“@fashion/Widget.MaterialComponents.AutoCompleteTextView.OutlinedBox“
android:layout_width=“match_parent“
android:layout_height=“wrap_content“
android:trace=“trace“/>
</com.google.android.materials.textfield.TextInputLayout>
OR
fashion=“@fashion/Widget.AppCompat.Spinner.Underlined“
android:layout_width=“match_parent“
android:layout_height=“wrap_content“
android:layout_marginLeft=“16dp“
android:layout_marginRight=“16dp“
android:trace=“trace“/>
Inside Exercise Or Fragment
AdapterView.OnItemClickListener { adapter, v, place, id ->
Toast.makeText(this, adapter.getItemAtPosition(place).toString(), Toast.LENGTH_LONG).present()
}
OR
Customization
You should utilize TextInputLayout types and properties or Spinner types and properties.
Discover this library helpful? ❤️
Help it by becoming a member of stargazers for this repository. ⭐
Copyright (c) 2020 Mamoon Al-hawamdeh
Permission is hereby granted, freed from cost, to any particular person acquiring a duplicate
of this software program and related documentation information (the “Software program”), to deal
within the Software program with out restriction, together with with out limitation the rights
to make use of, copy, modify, merge, publish, distribute, sublicense, and/or promote
copies of the Software program, and to allow individuals to whom the Software program is
furnished to take action, topic to the next circumstances:
The above copyright discover and this permission discover shall be included in all
copies or substantial parts of the Software program.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.