1
카메라 고유의 listView를 React Native로 만들려고합니다. 그리고 'CameraRoll.getPhotos (fetchParams)'를 보면, 일부 매개 변수를 넣을 수 있습니다. 그러나 정렬 옵션이 없거나 폴더 이름을 얻을 수 있습니다.React Native의 CameraRoll에서 날짜 또는 폴더 이름별로 이미지를 정렬하는 방법
미리 조언 해 주셔서 감사합니다.
아래 CameraRoll.js에서는 ..
var getPhotosParamChecker = createStrictShapeTypeChecker({
/**
* The number of photos wanted in reverse order of the photo application
* (i.e. most recent first for SavedPhotos).
*/
first: ReactPropTypes.number.isRequired,
/**
* A cursor that matches `page_info { end_cursor }` returned from a previous
* call to `getPhotos`
*/
after: ReactPropTypes.string,
/**
* Specifies which group types to filter the results to.
*/
groupTypes: ReactPropTypes.oneOf(GROUP_TYPES_OPTIONS),
/**
* Specifies filter on group names, like 'Recent Photos' or custom album
* titles.
*/
groupName: ReactPropTypes.string,
/**
* Specifies filter on asset type
*/
assetType: ReactPropTypes.oneOf(ASSET_TYPE_OPTIONS),
/**
* Filter by mimetype (e.g. image/jpeg).
*/
mimeTypes: ReactPropTypes.arrayOf(ReactPropTypes.string),
});
이 방법은 다른입니다 후 .. 을 수정해야 또는 I는 이미지 폴더의 목록을 만들 수 있습니다 보인다?
어떤 해결책을 찾았습니까? – Carol