If you think the Android project Kwitter listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code
/*
* Copyright 2014 Vasya Drobushkov//www.java2s.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/package com.krossovochkin.kwitter.fragments;
import android.content.Context;
import android.os.Bundle;
import com.krossovochkin.kwitter.tasks.GetMentionsAsyncTask;
import com.krossovochkin.kwitter.toolbox.Constants;
import twitter4j.Twitter;
/**
* Created by Vasya Drobushkov <vasya.drobushkov@gmail.com> on 20.02.14.
*/publicclass MentionsFragment extends BaseTimelineFragment {
publicstatic MentionsFragment newInstance(Twitter twitter) {
MentionsFragment fragment = new MentionsFragment();
Bundle bundle = new Bundle();
bundle.putSerializable(Constants.TWITTER_KEY, twitter);
fragment.setArguments(bundle);
return fragment;
}
public MentionsFragment() {
// instantiate only with newInstance() method
}
protectedvoid sendGetTimelineRequest(Context context) {
new GetMentionsAsyncTask(context, mTwitter, this).execute();
}
}