mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 06:43:56 +01:00 
			
		
		
		
	Fix lint issues.
This commit is contained in:
		
							parent
							
								
									de1a3144cc
								
							
						
					
					
						commit
						8656098dc5
					
				
					 5 changed files with 19 additions and 13 deletions
				
			
		|  | @ -228,7 +228,8 @@ public  class       ContributionsActivity | |||
|     @Override | ||||
|     public void onLoadFinished(Loader<Cursor> cursorLoader, Cursor cursor) { | ||||
|         if(contributionsList.getAdapter() == null) { | ||||
|             contributionsList.setAdapter(new ContributionsListAdapter(getApplicationContext(), cursor, 0)); | ||||
|             contributionsList | ||||
|                     .setAdapter(new ContributionsListAdapter(getApplicationContext(), cursor, 0)); | ||||
|         } else { | ||||
|             ((CursorAdapter)contributionsList.getAdapter()).swapCursor(cursor); | ||||
|         } | ||||
|  |  | |||
|  | @ -17,7 +17,8 @@ class ContributionsListAdapter extends CursorAdapter { | |||
| 
 | ||||
|     @Override | ||||
|     public View newView(Context context, Cursor cursor, ViewGroup viewGroup) { | ||||
|         View parent = LayoutInflater.from(context).inflate(R.layout.layout_contribution, viewGroup, false); | ||||
|         View parent = LayoutInflater.from(context) | ||||
|                 .inflate(R.layout.layout_contribution, viewGroup, false); | ||||
|         parent.setTag(new ContributionViewHolder(parent)); | ||||
|         return parent; | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dmitry Brant
						Dmitry Brant