ai-agent

PinterestLikeAdapterView

[Deprecated] An Android multi column list view like Pinterest.
1,154 stars741 forksJavaUpdated 11/17/2021100% free · open source
What it does

Provides a drop‑in Android view that arranges items in a Pinterest‑style multi‑column, staggered grid without writing a custom layout manager.

When to use it
  • You need a masonry‑style feed (e.g., photo or product cards) on Android and don’t want to implement a custom RecyclerView.LayoutManager.
  • Your app targets API 14+ and you prefer a simple ListView‑style adapter over RecyclerView.
  • You’re building a prototype quickly and can accept a now‑deprecated library to avoid heavy dependencies.
Ready-to-paste prompt
```java
public class MainActivity extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        PinterestLikeAdapterView grid = findViewById(R.id.pinterest_view);
        List<String> urls = Arrays.asList(
                "https://example.com/img1.jpg",
                "https://example.com/img2.jpg",
                "https://example.com/img3.jpg"
        );
        ArrayAdapter<String> adapter = new ArrayAdapter<>(this, R.layout.item_card, R.id.title, urls);
        grid.setAdapter(adapter);
        grid.setColumnCount(3); // three columns instead of default two
    }
}
```
Heads up: The library depends on the old android-support‑v4 package; if your project has migrated to AndroidX you must add the Jetifier flag (android.useAndroidX=true) or manually replace the import, otherwise the build will fail.
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/pinterestlikeadapterview && curl -fsSL https://workflowstacks.com/api/skills/pinterestlikeadapterview/claude-skill -o ~/.claude/skills/pinterestlikeadapterview/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

Quick Actions
Details
Creator
GDG-Korea
Language
Java
Category
ai-agent
Published
11/6/2012

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.