I have a problem with my code. I already anycodings_mysql created a spinner that populates from the anycodings_mysql MySQL database. The PHP code seem not have anycodings_mysql problem at all since I run the link anycodings_mysql "localhost/latihan1/menu/php", the json anycodings_mysql string will display. the json display as follows: {"result":[{"username":"haha","name":"Bus anycodings_mysql Bisnis","course":"math","session":"20119"},{"username":"hihi","name":"Bus anycodings_mysql Ace","course":"fizik","session":"12817"},{"username":"m_ridwan","name":"Ridwan","course":"Komputer","session":"1920"},{"username":"m_iqbal","name":"Iqbal","course":"Sains","session":"2021"}]} But when I open the apps, The spinner anycodings_mysql doesn't shows the data. I dont know anycodings_mysql why. Below is my code JAVA public class MainActivity extends anycodings_mysql AppCompatActivity implements anycodings_mysql Spinner.OnItemSelectedListener{
menu.php
29 Answers 1 : of Android MySQL: Spinner not populate data from MySQLI executed your code in my android anycodings_spinner studio. I looks like that your network anycodings_spinner call is unable to fetch data (result anycodings_spinner remains null). Check my code for anycodings_spinner reference. I replaced your network call anycodings_spinner with static data.
0 2022-10-17T00:51:16+00:00 2022-10-17T00:51:16+00:00Answer Link mRahman |