[ANDROID] Set custom OnClickListener in Timeline


I can’t set OnClickListener on my project using Fabric.
I create custom adapter, but doesn’t load OnClickListener and load OnClickListener written in BaseTweetView. I try to extend BaseTweetView in new class but I can’t override methods.

public class TweetAdapter extends TweetTimelineListAdapter {
    public ArrayList<Long> tweetIds=new ArrayList<Long>();
    public TweetAdapter(Context context, Timeline<Tweet> timeline) {
        super(context, timeline);

public View getView(int position, View convertView, ViewGroup parent) {
    Object rowView = convertView;
    final Tweet tweet = (Tweet)this.getItem(position);
    if(convertView == null) {
        rowView = new CompactTweetView(this.context,tweet);

    } else {

    ((View)rowView).setOnClickListener(new View.OnClickListener() {
        public void onClick(View view) {

    return (View)rowView;

Any ideas? Thanks


I’ve finally found the solution.

closed #3