Skip to content

updated lib version, fixed build command, WIP handbook#8

Open
NekoMimiOfficial wants to merge 4 commits into
brahmkshatriya:mainfrom
Neko-Labs:main
Open

updated lib version, fixed build command, WIP handbook#8
NekoMimiOfficial wants to merge 4 commits into
brahmkshatriya:mainfrom
Neko-Labs:main

Conversation

@NekoMimiOfficial

Copy link
Copy Markdown

No description provided.

Comment thread .gitignore
brahmkshatriya
brahmkshatriya previously approved these changes Jul 18, 2025
Comment thread HANDBOOK.md
Comment thread HANDBOOK.md Outdated
Comment thread HANDBOOK.md Outdated
Comment thread HANDBOOK.md
Comment thread HANDBOOK.md Outdated
Comment thread HANDBOOK.md
Comment thread HANDBOOK.md
override val settingItems: List<Setting> = listOf(switchInput)
```
**`SettingSlide()`**: A slider to choose a numerical value
This entry has:

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this inconsistency? setting switch doenst list all the parameters
this shouldnt either, and its better to refer the javadoc

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it does? title, key, summary, defaultValue

  • @param title The title of the setting.
  • @param key The key of the setting.
  • @param summary The summary of the setting.
  • @param defaultValue The default value of the setting.

@brahmkshatriya brahmkshatriya Jul 18, 2025

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am talking bout this inconsistency
image

SettingSwitch shows all of them in a single line, while this shows them one by one indiviually

Comment thread HANDBOOK.md
override fun setSettings(settings: Settings) {
setting= settings
}
```

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly, I suggest making this section just let the user read the java doc if they want to understand stuff in details,
its best to just show SettingSwitch in this section, since its what most of the extensions would use

Comment thread HANDBOOK.md
Comment thread README.md

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of writing this, I suggest you incoporate stuff from the readme to Handbook and updtae the readme to just link the handbook

@brahmkshatriya

Copy link
Copy Markdown
Owner

love to accidentally click approve instead of request changes 😭

@NekoMimiOfficial

Copy link
Copy Markdown
Author

now? :'3

@brahmkshatriya
brahmkshatriya self-requested a review July 18, 2025 20:42
@brahmkshatriya
brahmkshatriya dismissed their stale review July 18, 2025 20:43

accidental

Comment thread HANDBOOK.md
## What is an extension ?
We can't dive straight into creating the extension without first knowing how one works, apart from the main code that sets up a kotlin/Android project you start with your main class, that class extends multiple interfaces to add the features you need (lets say you want to create an extension that only does lyrics, then you'd need the LyricsClient interface)
We will divide our code into segements to keep things easier to read and help others be able to contrib to your project, we will also stick to the kotlin indent style and syntax rules (because people will shit on you otherwise)
Your main class file should only contain declarations and overrides, you are advised to not implement any of the logic in this file but rather to call functions from other files

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend to replace this line with

Its better to have your main class file only contain declarations and overrides, you are advised to not implement any of the logic in this file but rather to call functions from other files. This will keep your main class clean and readable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants