예제 #1
0
        public List <MyVotes> ReloadInMyVotes()
        {
            //LoadMyResponses
            var votes = Jodel.GetMyVotes();

            //LoadKarma
            Karma = Jodel.Account.GetKarma();

            return(votes);
        }
예제 #2
0
        public List <MyPins> ReloadInMyPins()
        {
            //LoadMyResponses
            var pins = Jodel.GetMyPins();

            //LoadKarma
            Karma = Jodel.Account.GetKarma();

            return(pins);
        }
예제 #3
0
        public List <MyComments> ReloadInMyComments()
        {
            //LoadMyComments
            var comments = Jodel.GetMyComments();

            //LoadKarma
            Karma = Jodel.Account.GetKarma();

            return(comments);
        }
예제 #4
0
        public List <MyJodels> ReloadInMyJodels()
        {
            //LoadMine
            var jodels = Jodel.GetMyJodels();

            //LoadKarma
            Karma = Jodel.Account.GetKarma();

            return(jodels);
        }
예제 #5
0
        public List <Jodels> ReloadInMain()
        {
            //LoadFirstJodels
            var jodels = Jodel.GetFirstJodels();

            //LoadKarma
            Karma = Jodel.Account.GetKarma();

            return(jodels);
        }
예제 #6
0
        /// <summary>
        /// Does all what Jodel does on opening
        /// </summary>
        public void StartJodel()
        {
            //GetUserConfig
            Jodel.GetUserConfig();

            //LoadFollowedChannels
            Jodel.LoadFollowedChannels();

            //LoadRecommendedChannels
            Jodel.GetRecommendedChannels();

            //LoadKarma
            Karma = Jodel.Account.GetKarma();

            //LoadFirstJodels
            Jodel.GetFirstJodels();
        }
예제 #7
0
 public JodelApp(Jodel jodel)
 {
     Karma   = 0;
     MyJodel = jodel;
 }
예제 #8
0
 public JodelApp(User user)
 {
     Jodel = new Jodel(user);
 }