鉴于这些守则:
private ListDataProvider<String> cellListDataProvider = new ListDataProvider<String>();
public void onLoadingData(){
mySimplePager.setDisplay(myCellList);
mySimplePager.setPageSize(3);
cellListDataProvider.addDataDisplay(myCellList);
}
//There is a button & when
这是我的方法SetPageSize in component.ts
setPageSize(pages: number) {
let abc = this.showdefaultpage;
abc = 10;
this.inspectorService.getAllData(pages, abc)
.subscribe(
data => {
this.allpagingData = [];
for (let index in data.inspectors) {
this.allpagingData.push({
"id&
下午好!
我有困难访问谷歌团队驱动器。
我需要从本地存储创建文件夹和上传文件,所有这些都应该由我的应用程序来完成。
目前,我已经学会了连接到我的个人谷歌驱动器和上传文件那里。我的连接到个人存储的代码:
Drive service = new Drive.Builder(HTTP_TRANSPORT, JSON_FACTORY, credential) //
.setApplicationName(APPLICATION_NAME).build();
// Print the names and IDs for up to 10