Skip to content

RikkaApps/RikkaX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.


Modified version of AndroidX AppCompat.

Helper class that helps you to check Android version, but also naming in a different way (isAtLeast13 ✓).

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

Html

Copy of android.text.Html class.

A ktx library to simplify Html.fromHtml.

Handle window insets without writing OnApplyWindowInsetsListener everywhere.

Similar to DataStreams classes, but in little-endian.

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

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

Lifecycle

MutableLiveData class with status.

ViewModel that shares across activities.

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

Material

Material 3 styled preference.

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

ContentProvider-based SharedPreference with multi-process support.

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

RecyclerView

RecyclerView helper.

Widget

BorderRecyclerView BorderNestedScrollView that shows border when content scrolls.

MainSwitchBar & MainSwitchPreference ported from AOSP SettingLib/MainSwitchPreference.

SwitchBar in system settings.