mirror of
				https://github.com/lacerta-doc/Lacerta.git
				synced 2025-11-04 00:40:49 +00:00 
			
		
		
		
	フォーマット整理
This commit is contained in:
		
							parent
							
								
									df95ce4405
								
							
						
					
					
						commit
						b1af3f01f2
					
				
							
								
								
									
										17
									
								
								.idea/deploymentTargetDropDown.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								.idea/deploymentTargetDropDown.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							@ -0,0 +1,17 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
<project version="4">
 | 
			
		||||
  <component name="deploymentTargetDropDown">
 | 
			
		||||
    <runningDeviceTargetSelectedWithDropDown>
 | 
			
		||||
      <Target>
 | 
			
		||||
        <type value="RUNNING_DEVICE_TARGET" />
 | 
			
		||||
        <deviceKey>
 | 
			
		||||
          <Key>
 | 
			
		||||
            <type value="SERIAL_NUMBER" />
 | 
			
		||||
            <value value="ZY227DCBHN" />
 | 
			
		||||
          </Key>
 | 
			
		||||
        </deviceKey>
 | 
			
		||||
      </Target>
 | 
			
		||||
    </runningDeviceTargetSelectedWithDropDown>
 | 
			
		||||
    <timeTargetWasSelectedWithDropDown value="2024-01-17T02:08:31.103838700Z" />
 | 
			
		||||
  </component>
 | 
			
		||||
</project>
 | 
			
		||||
@ -13,11 +13,13 @@ import java.util.List;
 | 
			
		||||
 | 
			
		||||
import one.nem.lacerta.model.ListItem;
 | 
			
		||||
import one.nem.lacerta.model.document.DocumentMeta;
 | 
			
		||||
 | 
			
		||||
//RecyclerView 用のアダプタークラス
 | 
			
		||||
//アダプターはリストのデータを管理し、それを RecyclerView に表示する
 | 
			
		||||
public class DocumentAdapter extends RecyclerView.Adapter<DocumentAdapter.DocumentViewHolder> {
 | 
			
		||||
   // アダプターが保持するデータ
 | 
			
		||||
    // アダプターが保持するデータ
 | 
			
		||||
    private ArrayList<ListItem> documentMetas;
 | 
			
		||||
 | 
			
		||||
    //documentMetas アダプターが表示するデータ
 | 
			
		||||
    public DocumentAdapter(ArrayList<ListItem> documentMetas) {
 | 
			
		||||
        // nullの場合でも例外を発生させないよう修正
 | 
			
		||||
 | 
			
		||||
@ -140,6 +140,6 @@ public class LibraryTopFragment extends Fragment {
 | 
			
		||||
            e.printStackTrace();
 | 
			
		||||
            Toast.makeText(getContext(), "エラーが発生しました: " + e.getMessage(), Toast.LENGTH_LONG).show();
 | 
			
		||||
        }
 | 
			
		||||
            return view;
 | 
			
		||||
        }
 | 
			
		||||
        return view;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user