Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Prefixer: Simplify Shared Preferences editing. Inspect and modify Android app preferences effortlessly.

License

NotificationsYou must be signed in to change notification settings

i-vishi/Prefixer

Repository files navigation

Prefixer is an intuitive Android library designed for developers to effortlessly visualize and modify SharedPreferences. It simplifies preference management and enhances debugging and development efficiency by providing accessible SharedPreferences manipulation directly from your app's UI.

Snapshots

All Preferences ActivityEdit String/Number PreferencesEdit Boolean Preferences

Features

  • Easy Initialization: Quick setup with just one line of code.
  • User-Friendly UI: Launches a new activity displaying all SharedPreferences in a clean and interactive interface.
  • Edit Preferences: Allows editing of SharedPreferences values directly from the UI with a simplelong-press.
  • Seamless Integration: Easily integrates into existing Android projects without hassle.

Getting Started

Installation

To add Prefixer to your project, follow these steps:

  1. Ensure you havemavenCentral() in your project'sbuild.gradle file:

    allprojects {    repositories {...        mavenCentral()    }}
  2. Add Prefixer dependency to your module's build.gradle file:

    dependencies {   implementation'dev.vishalgaur:prefixer:1.2.0'}

Quick Start

To utilize Prefixer in your application, adhere to these steps:

  1. Initialize Prefixer in your Activity class:

    classMyActivity :ComponentActivity() {overridefunonCreate() {super.onCreate()val instance=Prefixer.initialize(this,"pref_file_name")// Replace "pref_file_name" with your actual preferences file name.   }}
  2. Retrieve the launch intent for viewing and editing the SharedPreferences, then start the activity:

    val launchIntent= instance.getLaunchIntent(this)startActivity(launchIntent)

About

Prefixer: Simplify Shared Preferences editing. Inspect and modify Android app preferences effortlessly.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp