Skip to content

Added Library Poster Size Slider#2714

Open
AryanMir15 wants to merge 4 commits intorecloudstream:masterfrom
AryanMir15:clean-implementation
Open

Added Library Poster Size Slider#2714
AryanMir15 wants to merge 4 commits intorecloudstream:masterfrom
AryanMir15:clean-implementation

Conversation

@AryanMir15
Copy link
Copy Markdown

@AryanMir15 AryanMir15 commented Apr 22, 2026

Implemented library poster scaling via RecyclerView span count adjustment. Leveraged AI assistance for code review and optimization of the layout logic to ensure the slider transitions are smooth and performant.

Also adds gitignore rules for app/prerelease/ and app/stable/ folders to prevent committing release APK files.
Screenshot_2026-04-22-17-15-16-71_bba4627ecec1346e77f282610a5b88e8

Copy link
Copy Markdown
Contributor

@Luna712 Luna712 left a comment

Choose a reason for hiding this comment

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

e: file:///home/runner/work/cloudstream/cloudstream/app/src/main/java/com/lagradost/cloudstream3/ui/library/PageAdapter.kt:36:54 Unresolved reference 'getInt'.

- Replace deprecated PreferenceManager with androidx version
- Change slider to directly control grid columns (1-10)
- Remove unnecessary activity.recreate() call
- Update slider defaults: min=1, max=10, default=3
- Remove incorrect .gitignore entries
true
}

getPref(R.string.library_poster_size_key)?.setOnPreferenceChangeListener { _, newValue ->
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This entire block is unnecessary

@AryanMir15 AryanMir15 requested a review from Luna712 April 23, 2026 08:03
@AryanMir15 AryanMir15 requested a review from fire-light42 April 24, 2026 17:17
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