Cannot resolve .Builder() method while creating UserTimeline

android

#1

Hello I am using the twitter sdk 1.3.2 and I have a syntax error. The error is .Builder() symbol cannot be found, I have searched everywhere but could not find a solution. Is it possible the .Builder() method was depreciated in version 1.3.2, if so are there any alternatives? Thanks, and sorry for the bad formatting

import com.twitter.sdk.android.Twitter;
import com.twitter.sdk.android.core.TwitterAuthConfig;
import com.twitter.sdk.android.tweetui.TweetUi;
import com.twitter.sdk.android.tweetui.internal.TimelineListAdapter;
import com.twitter.sdk.android.tweetui.internal.UserTimeline;

UserTimeline userTimeline = newUserTimeline.Builder().screenName(“screenname”).build();


#2

Hey @Droid_Developer,

Can you share more of your code around how you have this setup? I’m not seeing the same thing locally so I’d love to recreate your setup better. Also, are you using TwitterKit provided by Fabric?

-Mike