/RikkaX

Rikka's Android libraries.

Primary LanguageJavaMIT LicenseMIT

RikkaX

Libraries used in Rikka apps.

Because these libraries were for internal use, some of them may not be suitable as public libraries.

The libraries suitable as public libraries are as follows.


AppCompat

Modified version of AndroidX AppCompat.

Compatibility

Helper class that helps you to check device information. For example, if the device runs MIUI.

Html

Html

Copy of android.text.Html class.

Html-ktx

A ktx library to simplify Html.fromHtml.

Insets

Handle window insets without writing OnApplyWindowInsetsListener everywhere.

LittleEndianDataStream

Similar to DataStreams classes, but in little-endian.

LayoutInflater

Implementation of android.view.LayoutInflater.Factory2 which makes custom attributes for all views possible.

Lazy

Lazy initialization helper classes, similar to Kotlin, but for Java-only projects.

Lifecycle

ResourceLiveData

MutableLiveData class with status.

SharedViewModel

ViewModel that shares across activities.

ViewModelLazy

An easier-to-use version of ViewModelLazy than Androidx.

Material

MaterialPreference

Material 3 styled preference.

ParcelableList

Helper class to transfer a large list of Parcelable objects through Binder.

MultiProcessPreference

ContentProvider-based SharedPreference with multi-process support.

SimpleMenuPreference

A version of ListPreference that use Simple Menus from Material Design 1.

RecyclerView

RecyclerViewKtx

RecyclerView helper.

Widget

BorderView

BorderRecyclerView BorderNestedScrollView that shows border when content scrolls.

MainSwitchBar

MainSwitchBar & MainSwitchPreference ported from AOSP SettingLib/MainSwitchPreference.

SwitchBar

SwitchBar in system settings.