mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-16 05:55:08 -05:00
imports
This commit is contained in:
parent
72fdf44e5e
commit
a84a8ef51c
@ -23,19 +23,15 @@ package org.yaaic.adapter;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
|
|
||||||
import org.yaaic.R;
|
|
||||||
import org.yaaic.model.Channel;
|
import org.yaaic.model.Channel;
|
||||||
import org.yaaic.model.Message;
|
import org.yaaic.model.Message;
|
||||||
|
|
||||||
import android.content.Context;
|
|
||||||
import android.graphics.Typeface;
|
import android.graphics.Typeface;
|
||||||
import android.text.SpannableString;
|
import android.text.SpannableString;
|
||||||
import android.view.LayoutInflater;
|
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
import android.widget.BaseAdapter;
|
import android.widget.BaseAdapter;
|
||||||
import android.widget.Gallery;
|
import android.widget.Gallery;
|
||||||
import android.widget.ScrollView;
|
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -349,6 +349,8 @@ public class IRCConnection extends PircBot
|
|||||||
protected void onQuit(String sourceNick, String sourceLogin, String sourceHostname, String reason)
|
protected void onQuit(String sourceNick, String sourceLogin, String sourceHostname, String reason)
|
||||||
{
|
{
|
||||||
debug("Quit", sourceNick);
|
debug("Quit", sourceNick);
|
||||||
|
|
||||||
|
// XXX: Add message to all channels where this user has been
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -201,7 +201,7 @@ public class ServerActivity extends Activity implements ServiceConnection, Chann
|
|||||||
if (canvas != null) {
|
if (canvas != null) {
|
||||||
canvas.append(message.render(canvas.getContext()));
|
canvas.append(message.render(canvas.getContext()));
|
||||||
int y = (canvas.getLineCount() * canvas.getLineHeight()) - canvas.getHeight() + 20;
|
int y = (canvas.getLineCount() * canvas.getLineHeight()) - canvas.getHeight() + 20;
|
||||||
Log.d(TAG, "Scrolling to: " + y);
|
//Log.d(TAG, "Scrolling to: " + y);
|
||||||
canvas.scrollTo(0, y);
|
canvas.scrollTo(0, y);
|
||||||
deckAdapter.notifyDataSetChanged();
|
deckAdapter.notifyDataSetChanged();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user