Frost Library

Android library providing a useful widget class mimicking the behavior of edit texts in a web form.

License

License

GroupId

GroupId

it.subito
ArtifactId

ArtifactId

frost-library
Last Version

Last Version

1.0
Release Date

Release Date

Type

Type

aar
Description

Description

Frost Library
Android library providing a useful widget class mimicking the behavior of edit texts in a web form.
Project URL

Project URL

https://github.com/Subito-it/Frost
Source Code Management

Source Code Management

https://github.com/Subito-it/Frost

Download frost-library

How to add to project

<!-- https://jarcasting.com/artifacts/it.subito/frost-library/ -->
<dependency>
    <groupId>it.subito</groupId>
    <artifactId>frost-library</artifactId>
    <version>1.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/it.subito/frost-library/
implementation 'it.subito:frost-library:1.0'
// https://jarcasting.com/artifacts/it.subito/frost-library/
implementation ("it.subito:frost-library:1.0")
'it.subito:frost-library:aar:1.0'
<dependency org="it.subito" name="frost-library" rev="1.0">
  <artifact name="frost-library" type="aar" />
</dependency>
@Grapes(
@Grab(group='it.subito', module='frost-library', version='1.0')
)
libraryDependencies += "it.subito" % "frost-library" % "1.0"
[it.subito/frost-library "1.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Frost

This library provides a useful widget class mimicking the behavior of edit texts in a web form, which retains the entered values in a local history and automatically suggests previously stored texts as soon as the user starts typing.

Download

Grab the latest version from Maven Central:

compile 'it.subito:frost-library:1.+'

Usage

The typical usage is to declare the widget directly into the layout XML file. For example:

<it.subito.frost.FrostTextView
    android:id="@+id/user_email"
    frost:key="user_email"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" />

The widget supports all the attributes of a MultiAutoCompleteTextView and a number of additional ones used to customize the specific behaviors in an easy and flexible way. Moreover, an even more advanced level of customization can be achieved by accessing the view programmatically through your Java code.

The widget makes use of a Persister to store and retrieve back the collected data associated with the specific view. In fact, the data are stored in separate collections identified by a unique key, thus enabling different views of the same kind (for example: a user name or address field) to share the same list of suggestions.

Customisation

Please see the Customisation page for more information on how to change the behaviour of the View.

License

Copyright (C) 2014 Subito.it S.r.l (www.subito.it)

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.
it.subito

Versions

Version
1.0