Open fishzhe opened 9 years ago
Since added listview. So need to ask which pic to set as wallpaper or just set selected pic as wallpaper
Now can set selected wallpaper as background. But, it will cause null pointer exception after set a different wall paper, then select a new item in app.
Fixed null pointer exception. It turns out the logic of set selected item position was wrong.
After changing to Picasso to load image, now need to move the set wall paper work to async task to make sure thread safety.
Make big change of the implementation of set wallpaper function. Now can use long click to set wallpaper. No need to call adapter.
Now set wallpaper function will set wallpaper in default size. Use should be able to adjust which part to set as wallpaper