samuil-yanovski / lol-api-library Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hi, I'm having issues displaying content.
I need to display a list of all champions (freeToPlay or not) but not as a display.
I tried with your example and it doesn't show me anything.
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
//ListView = (ListView) findViewById(R.id.listView);
LoLServices.init(this);
LoLServices.getSummonerNamesBySummnerId("eune", "20998488");
//LoLServices.getChampions("las", false);
}
I don't know that I did wrong and I need help because I believe that your library is simpler than the others.
Thanks!
Hallo. I'm having issues using this library
First I created an android project and setted it as library. Then I copied every folder on the library to this new created library
Then I added the library to my app. I copied the meta-data with my api key and the permission I called the init on my OnCreate code on my first main activity:
LoLServices.init(this);
Without trying anything more I tried to run it and I get this error on the line where LoLservices is started:
03-05 13:26:58.754: E/AndroidRuntime(8054): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.feedtheporo/com.example.feedtheporo.Main}: java.lang.NullPointerException
What I could be doing wrong? I can't find another LoL library for android and this one seemed to be easy to use
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.