bluelinelabs / bluelinelabs/LoganSquare

how to convert complex generic type?

Open
#205 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
3.2k
Forks
303
PR merge metrics
No merged PRs in 30d

Description

Is there a demo to explain how to convert complex generic type data?
data type for instance,

public class DataObject {

private String status;

private String errorCode;

private String message = "";

private String type;

private T data;

private PageInfo page;
}

public class PageInfo {

private int page = 1;

private int pageSize = 10;

private int total;

private int maxPage;

private List items;
}

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing LoganSquare's existing documentation and examples for generic type conversion, then use the DataObject and PageInfo shapes in the issue as the example case. Done means providing a clear, working demonstration of converting this nested generic data, with any relevant usage details documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile-dev
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.