var data = DataItem()
data.listData = categoryListData
this.data.add(data)
}
private fun loadSliderData() {
var slider = ArrayList()
slider.add(
SliderData(
R.drawable.slider1,
"How to become an exceptional Performance Engineer",
"Whenever I think of performance engineering, I am reminded of Amazon’s CEO Jeff Bezos’ statement, “Focusing on the customer makes a company more resilient.”..."
)
)
slider.add(
SliderData(
R.drawable.slider2,
"OpenJS Foundation accepts Electron.js in its incubation program",
"Yesterday, at the Node+JS Interactive in Montreal, the OpenJS Foundation announced the acceptance of Electron into the Foundation’s incubation program. The OpenJS Foundation provides vendor-neutral..."
)
)
slider.add(
SliderData(
R.drawable.slider3,
"Gabriel Baptista on how to build high-performance software architecture systems with C# and .Net...",
"A software architecture refers to the fundamental structure of a software system that serves as a blueprint to manage the system complexity. It is.."
)
)
slider.add(
SliderData(
R.drawable.slider4,
"Introducing Firefox Replay, a tool that allows Firefox tabs to record, replay, and rewind...",
"Mozilla is constantly putting its efforts into improving Firefox’s devtools. One such effort is Firefox Replay, an experimental tool that allows Firefox content processes..."
)
var sliderListData = ListData()
sliderListData.name = "FEATURED"
sliderListData.type = BaseData.TYPE_SLIDER
sliderListData.data = slider
Do'stlaringiz bilan baham: |