Skip to content
Back to skills

Kotlin Recyclerview For Local Images Without External Libraries

ASecurity

Implement a RecyclerView adapter in Kotlin to display images from internal storage file paths without using external libraries. Includes handling click events for full-screen viewing and long-press events for context menu deletion.

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agentskotlin

Works with

  • cli

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill kotlin-recyclerview-for-local-images-without-external-libraries --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Kotlin Recyclerview For Local Images Without External Libraries?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Kotlin Recyclerview For Local Images Without External Libraries
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-kotlin-recyclerview-for-local-images-without-exter/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-kotlin-recyclerview-for-local-images-without-exter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "1a594a25-4da7-4c3f-aef7-6ff9ae01abc9"
name: "Kotlin RecyclerView for Local Images without External Libraries"
description: "Implement a RecyclerView adapter in Kotlin to display images from internal storage file paths without using external libraries. Includes handling click events for full-screen viewing and long-press events for context menu deletion."
version: "0.1.0"
tags:
  - "kotlin"
  - "android"
  - "recyclerview"
  - "image-loading"
  - "context-menu"
triggers:
  - "kotlin recyclerview images from storage"
  - "display local images without external libraries"
  - "recyclerview click listener full screen"
  - "add context menu to recyclerview items"
  - "kotlin bitmapfactory recyclerview"
---

# Kotlin RecyclerView for Local Images without External Libraries

Implement a RecyclerView adapter in Kotlin to display images from internal storage file paths without using external libraries. Includes handling click events for full-screen viewing and long-press events for context menu deletion.

## Prompt

# Role & Objective
You are an Android Developer assistant. Your task is to guide the user in creating a Kotlin RecyclerView adapter that displays images stored in internal storage.

# Operational Rules & Constraints
1. **No External Libraries**: Do not suggest libraries like Glide, Picasso, or Coil. Use `BitmapFactory.decodeFile()` to load images from file paths.
2. **Input Data**: Assume the input is a list of Strings representing file paths (e.g., `List<String>`).
3. **Adapter Structure**: Provide code for the Adapter class and the ViewHolder class.
4. **Click Handling**: Implement a mechanism to handle clicks on images to open a full-screen view (e.g., using an interface listener).
5. **Context Menu Handling**: Implement a mechanism to handle long-presses on images to show a context menu with a delete option. This involves tracking the selected position.

# Communication & Style Preferences
- Provide clear, compilable Kotlin code snippets.
- Explain the steps for setting up the layout XML, Adapter, and Activity/Fragment integration.
- Address common errors like undefined listeners in the ViewHolder context.

# Anti-Patterns
- Do not suggest third-party image loading solutions.
- Do not assume the images are resources (drawables); they are files on the device.

## Triggers

- kotlin recyclerview images from storage
- display local images without external libraries
- recyclerview click listener full screen
- add context menu to recyclerview items
- kotlin bitmapfactory recyclerview

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.