mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-25 15:11:52 -05:00
Additional @Override compile check
This commit is contained in:
parent
f15101420e
commit
2a476dc92c
@ -407,6 +407,7 @@ public class MessageList
|
|||||||
context.startActivity(intent);
|
context.startActivity(intent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void onItemClick(AdapterView<?> parent, View view, int position, long id)
|
public void onItemClick(AdapterView<?> parent, View view, int position, long id)
|
||||||
{
|
{
|
||||||
if (mCurrentFolder != null && ((position+1) == mAdapter.getCount()))
|
if (mCurrentFolder != null && ((position+1) == mAdapter.getCount()))
|
||||||
@ -2138,6 +2139,8 @@ public class MessageList
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static final int NON_MESSAGE_ITEMS = 1;
|
private static final int NON_MESSAGE_ITEMS = 1;
|
||||||
|
|
||||||
|
@Override
|
||||||
public int getCount()
|
public int getCount()
|
||||||
{
|
{
|
||||||
if (mAdapter.messages.size() == 0)
|
if (mAdapter.messages.size() == 0)
|
||||||
@ -2148,6 +2151,7 @@ public class MessageList
|
|||||||
return mAdapter.messages.size() + NON_MESSAGE_ITEMS ;
|
return mAdapter.messages.size() + NON_MESSAGE_ITEMS ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public long getItemId(int position)
|
public long getItemId(int position)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
@ -2170,6 +2174,7 @@ public class MessageList
|
|||||||
return getItem((int)position);
|
return getItem((int)position);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Object getItem(int position)
|
public Object getItem(int position)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
@ -2189,6 +2194,7 @@ public class MessageList
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public View getView(int position, View convertView, ViewGroup parent)
|
public View getView(int position, View convertView, ViewGroup parent)
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -2568,6 +2574,7 @@ public class MessageList
|
|||||||
return uid.hashCode();
|
return uid.hashCode();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int compareTo(MessageInfoHolder o)
|
public int compareTo(MessageInfoHolder o)
|
||||||
{
|
{
|
||||||
int ascender = (sortAscending ? 1 : -1);
|
int ascender = (sortAscending ? 1 : -1);
|
||||||
@ -2659,6 +2666,7 @@ public class MessageList
|
|||||||
public CheckBox selected;
|
public CheckBox selected;
|
||||||
public int position = -1;
|
public int position = -1;
|
||||||
|
|
||||||
|
@Override
|
||||||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
|
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
|
||||||
{
|
{
|
||||||
if (position!=-1)
|
if (position!=-1)
|
||||||
@ -2868,6 +2876,7 @@ public class MessageList
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void onClick(View v)
|
public void onClick(View v)
|
||||||
{
|
{
|
||||||
boolean newState = false;
|
boolean newState = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user